[patch cpp]: PR target/41943 Make it possible that gcc-include and fixed-include are ordered behind standard-include

Kai Tietz ktietz70@googlemail.com
Sun Jul 18 18:30:00 GMT 2010


Hello,

this patch addresses the PR target/41943 for mingw targets. As some
headers need to be prefixed by standard headers, which are also
present in gcc's include, the search order of header-directories needs
adjustment for those targets.

ChangeLog

2010-07-18  Kai Tietz

	PR target/41943
	* cppdefault.c (default_include): Place GCC_INCLUDE_DIR
	at the end of include list.
	* config/i386/mingw32.h (TARGET_WANTS_GCC_AT_END_INCLUDED):
	New.

Tested for i686-pc-mingw32, x86_64-pc-mingw32. Ok for apply?

Regards,
Kai

--
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do_fixinclude_later.diff
Type: application/octet-stream
Size: 1748 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100718/ce9efa87/attachment.obj>


More information about the Gcc-patches mailing list