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: 53569
Status: new
Priority: 0/
Queue: YAML-LibYAML

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

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



Subject: compile fails with perl 5.10.1
adding a "%s" to the beginning of the croak() calls seems to fix it (tests pass), but I'm not sure if that's the correct solution. i586-mandriva-linux-gnu-gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno- D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat - protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 - DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.10.1/i386-linux-thread- In file included from ./perl_libyaml.h:14, from perl_libyaml.c:1: ./ppport.h:2979:1: warning: "PERL_UNUSED_DECL" redefined In file included from ./perl_libyaml.h:9, from perl_libyaml.c:1: /usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE/perl.h:330:1: warning: this is the location of the previous definition perl_libyaml.c: In function ‘Load’: perl_libyaml.c:154: warning: passing argument 2 of ‘Perl_sv_2mortal’ from incompatible pointer type /usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE/proto.h:3031: note: expected ‘struct SV *’ but argument is of type ‘struct HV *’ perl_libyaml.c: In function ‘load_node’: perl_libyaml.c:233: error: format not a string literal and no format arguments perl_libyaml.c:238: error: format not a string literal and no format arguments perl_libyaml.c: In function ‘load_mapping’: perl_libyaml.c:282: error: format not a string literal and no format arguments perl_libyaml.c: In function ‘load_sequence’: perl_libyaml.c:315: error: format not a string literal and no format arguments perl_libyaml.c: In function ‘dump_node’: perl_libyaml.c:641: warning: assignment discards qualifiers from pointer target type perl_libyaml.c: In function ‘get_yaml_tag’: perl_libyaml.c:701: warning: assignment discards qualifiers from pointer target type