[Bug 64] Build warnings in gcc.

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Thu Jun 27 06:44:35 PDT 2013


http://bugzilla.gdcproject.org/show_bug.cgi?id=64

Johannes Pfau <johannespfau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannespfau at gmail.com

--- Comment #1 from Johannes Pfau <johannespfau at gmail.com> 2013-06-27 13:44:35 UTC ---
I'll see if those can be reproduced on x86, but what headers are included in
what order can be different on every platform.

I hope we don't need to mirror TARGET_OS_CPP_BUILTINS. What headers are
included in what order is defined in the gcc/config.gcc file. As you can see
there it's "... linux.h glibc-stdint.h ia64/sysv4.h ia64/linux.h" for
ia64/linux.

It seems that for some architectures */sysv4.h is included before the real
final os header, e.g */linux.h.

So we could #undef & redefine TARGET_OS_D_BUILTINS in ia64/sysv4.h, then undef
& redefine it to TARGET_GENERIC_LINUX_OS_D_BUILTINS in ia64/linux.h.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the D.gnu mailing list