[Bug 64] Build warnings in gcc.

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Thu Jun 27 07:26:50 PDT 2013


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

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> 2013-06-27 14:26:50 UTC ---
(In reply to comment #1)
> 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.

I should have actually read the entirety of your post before responding... :o)

-- 
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