This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/47147] gcc 4.6 fails to compile on NetBSD
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Jan 2011 00:26:21 +0000
- Subject: [Bug bootstrap/47147] gcc 4.6 fails to compile on NetBSD
- Auto-submitted: auto-generated
- References: <bug-47147-4@http.gcc.gnu.org/bugzilla/>
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