This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]