Subject: | patch to allow Convert::Binary::C to build with GCC 4.4.x |
Date: | Sun, 08 Feb 2009 03:45:22 -0700 |
To: | bug-Convert-Binary-C [...] rt.cpan.org |
From: | Alex Lancaster <alexl [...] users.sourceforge.net> |
Currently this CPAN module fails when building using GCC 4.4.x which
Fedora rawhide (soon-to-be Fedora 11) is now using, because of a
change in the way GCC 4.4.x handles #elif, e.g:
Compiling [gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic] C.c
In file included from C.xs:54:
cbc/cbc.h:72:9: error: missing binary operator before token "("
cbc/cbc.h:81:9: error: missing binary operator before token "("
See task here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1112850
and full build log here:
http://koji.fedoraproject.org/koji/getfile?taskID=1112850&name=build.log
More information in upstream GCC tracker on this change is here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36320
I have attached a patch that fixes this.
Thanks,
Alex
Message body is not shown because sender requested not to inline it.