Skip Menu |

This queue is for tickets about the Convert-Binary-C CPAN distribution.

Report information
The Basics
Id: 43119
Status: resolved
Priority: 0/
Queue: Convert-Binary-C

People
Owner: Nobody in particular
Requestors: alexl [...] users.sourceforge.net
Cc:
AdminCc:

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



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.

Hi Alex, thanks for spotting this and for your patch. Sorry for the delayed response, but I've been on vacation the last 5 weeks. Fixed in 0.72. Cheers, Marcus