recode and gcc-4.3 (Was: Re: Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)
Benjamin Kosnik
bkoz at redhat.com
Tue Jan 15 15:30:39 UTC 2008
> Can you help me to find out what the problem is with recode compiled
> with gcc-4.3.0?
> The log is here:
> http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/unsorted/recode-3.6-24.fc8.log
Error is:
gcc -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -I../lib
-I../libiconv -g -O2 -c combine.c -fPIC -DPIC -o .libs/combine.lo
argmatch.c: In function '__argmatch_die': argmatch.c:69: warning:
incompatible implicit declaration of built-in function 'exit' In file
included from common.h:140, from charname.c:20:
recodext.h:221: error: width of 'ignore' exceeds its type
So, you'll need to look at recodext.h, line 221:
/* Non zero if this one should be ignored. */
bool ignore : 2;
Changing this to
/* Non zero if this one should be ignored. */
bool ignore;
Will fix it.
Patch attached.
-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: recode-bool-bitfield.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20080115/787ea6e6/attachment-0002.bin
More information about the devel
mailing list