Skip Menu |

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

Report information
The Basics
Id: 16742
Status: resolved
Priority: 0/
Queue: YAML-Syck

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

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



Subject: syck.h: clash with already defined DEBUG macro
The attached patch makes sure that DEBUG is undefined before syck.h is loaded. DEBUG may be defined in a debugging perl. Otherwise I get this error syck.h:54:3: missing binary operator with a self-compiled perl5.8.0 on a RedHat 8.0 system. Regards, Slaven
--- Syck.xs.orig 2005-12-27 12:57:00.000000000 +0100 +++ Syck.xs 2005-12-27 12:57:21.000000000 +0100 @@ -1,6 +1,7 @@ #include "EXTERN.h" #include "perl.h" #include "XSUB.h" +#undef DEBUG /* maybe defined in perl.h */ #include <syck.h> /*