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

People
Owner: Nobody in particular
Requestors: cpan [...] punch.net
Cc:
AdminCc:

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



Subject: compile warning incompatible pointer type
I am getting a compile warning: perl_libyaml.c:471: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type Looks like it just needs a cast. Patch attached.
Subject: YAML-LibYAML-0.27.tar.gz.dump.pointer.type.patch
diff -Naur ../YAML-LibYAML-0.27.orig/LibYAML/perl_libyaml.c ../YAML-LibYAML-0.27/LibYAML/perl_libyaml.c --- ../YAML-LibYAML-0.27.orig/LibYAML/perl_libyaml.c 2008-06-06 22:30:30.000000000 -0700 +++ ../YAML-LibYAML-0.27/LibYAML/perl_libyaml.c 2008-08-19 16:04:06.000000000 -0700 @@ -466,7 +466,7 @@ yaml_emitter_set_width(&dumper.emitter, 2); yaml_emitter_set_output( &dumper.emitter, - &append_output, + (yaml_write_handler_t* )&append_output, yaml ); yaml_stream_start_event_initialize(