[Bug bootstrap/47147] gcc 4.6 fails to compile on NetBSD

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 13 00:35:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47147

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-13 00:26:15 UTC ---
the include guard changed here:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/amd64/include/ansi.h.diff?r1=1.6&r2=1.7&only_with_tag=MAIN

by this commit:
http://mail-index.netbsd.org/source-changes/2008/10/26/msg211757.html

Looking at src/sys/arch/i386/include/ansi.h it seems that <machine/ansi.h> has
a different include guard for every arch, which is a lot of arch's for NetBSD

e.g. _I386_ANSI_H_ for x86

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/include/ansi.h.diff?r1=1.21&r2=1.22&only_with_tag=MAIN



More information about the Gcc-bugs mailing list