Skip Menu | will be shut down on March 1st, 2021.

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

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

Owner: Nobody in particular
Requestors: SREZIC [...]

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

Subject: syck.h: clash with already defined DEBUG macro
Download (untitled) / with headers
text/plain 267b
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
Download syck.patch
text/x-diff 333b
--- 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> /*

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to