[Bug target/40722] [4.5/4.6 Regression] ia32intrin.h defines of _rotl, _rotr conflict with target stdlib.h decls
ktietz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 3 12:29:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40722
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #20 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-02-03 12:29:18 UTC ---
So, as more as I think about it, come to the point that this fix-include for
stdlib.h isn't something good. The correct solution here is that mingw.org
fixes their stdlib.h header by () (as suggested by this fix-include sed
command, which by the way works as expected without clobbering ifdef/else
blocks).
The issue I see here is, that the local include directory (LOCAL_INCLUDE_DIR)
comes before fix-include in include order. So for a native configuration, this
won't solve anything as it won't be used at all.
So IMHO, this problem should be closed as invalid.
More information about the Gcc-bugs
mailing list