Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML-LibYAML CPAN distribution.

Report information
The Basics
Id: 42405
Status: open
Priority: 0/
Queue: YAML-LibYAML

People
Owner: Nobody in particular
Requestors: HMBRAND [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.32
Fixed in: (no value)



Subject: Initialisation not ANSI compliant
YAML::XS cannot be built on e.g. HP-UX with native ANSI-C compiler: cc -c -I. -Ae -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl, +vnocompatwarnin gs -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -DVERSION=\"\" -DXS_VERSION=\"\" +Z "-I/pro/lib/perl5/5.8.8/PA- RISC2.0/CORE" -DHAVE_CONFIG_H scanner.c cc: "scanner.c", line 1122: error 1536: Cannot evaluate initialization expressio n, please initialize dynamically. cc: "scanner.c", line 1992: warning 562: Redeclaration of "yaml_parser_scan_dire ctive" with a different storage class specifier: "yaml_parser_scan_directive" wi ll have internal linkage. The code here is if (parser->simple_key_allowed) { yaml_simple_key_t simple_key = { 1, required, parser->tokens_parsed + parser->tokens.tail - parser- Show quoted text
>tokens.head,
{ 0, 0, 0 } }; simple_key.mark = parser->mark;
Subject: Re: [rt.cpan.org #42405] Initialisation not ANSI compliant
Date: Thu, 15 Jan 2009 13:18:47 +0200
To: bug-YAML-LibYAML [...] rt.cpan.org
From: Yuval Kogman <nuffin [...] cpan.org>
I think this is a problem in the included libyaml itself, I will look in the upstream version and see if it's been changed there and if not re-report. Thanks
Subject: Re: [rt.cpan.org #42405] Initialisation not ANSI compliant
Date: Thu, 15 Jan 2009 13:34:13 +0200
To: bug-YAML-LibYAML [...] rt.cpan.org
From: Yuval Kogman <nuffin [...] cpan.org>
Subject: Re: [rt.cpan.org #42405] Initialisation not ANSI compliant
Date: Thu, 15 Jan 2009 13:34:50 +0200
To: bug-YAML-LibYAML [...] rt.cpan.org
From: Yuval Kogman <nuffin [...] cpan.org>
2009/1/15 Yuval Kogman <nuffin@cpan.org>: Show quoted text
Oh, I forgot to ask - please try the patch in that ticket (apply it with -p1 in the LibYAML dir)
On Thu Jan 15 06:35:53 2009, NUFFIN wrote: Show quoted text
> 2009/1/15 Yuval Kogman <nuffin@cpan.org>: > > Oh, I forgot to ask - please try the patch in that ticket (apply it > with -p1 in the LibYAML dir)
Upstream has been fixed long ago, but somehow it did not yet find its way up here http://pyyaml.org/changeset/346