This is the mail archive of the
mailing list for the GCC project.
Re: [patch win32]: fix for PR target/41943
>> c:\mingw\bin\../lib/gcc/mingw32/4.6.0/include/float.h:278:24: fatal error: float
>> .h: No such file or directory
>> compilation terminated.
> I know. But as the float.h from gcc's internal header always comes
> first in include order, this next_include in system-headers is wrong.
mingw CRT and winapi headers have long been placed in the
LOCAL_INCLUDE_DIR on window's hosts, since Windows doesn't really have
a system include directory. This local include dir is defined as
being relative to exec_prefix in x-mingw32.
The local include dir is included before gcc's internal headers.