On Tue, Mar 23, 2010 at 12:57 AM, Mook
<mookgcc+sf.mingw-w64-pub...@gmail.com> wrote:
> On Sun, Mar 21, 2010 at 4:22 PM, NightStrike <nightstr...@gmail.com> wrote:
>> On Sun, Mar 21, 2010 at 5:20 PM, Ozkan Sezer <seze...@gmail.com> wrote:
>>> For some reason yet unknown to me, the gcc-provided headers
>>> have priority over the system provided headers and float.h is
>>> especially problematic: Not installing or deleting it is the solution,
>>> at least for now.
>>
>> If gcc headers didn't take priority, then fixincludes wouldn't work.
>>
>> The real question is why gcc forces changes to system headers instead
>> of working with system headers.
>
> FWIW, I believe this is set in gcc/cppdefaults.c [1] but I haven't
> been able to come up with a patch that I don't hate yet.  If something
> can be done, it would probably involve defining INCLUDE_DEFAULTS in
> config/i386/mingw-w64.h somehow, but the temporary workaround I have
> (#define PREFIX_INCLUDE_DIR TOOL_INCLUDE_DIR) breaks non-sysroot
> prefix builds, so that's not useful.
>
> Mostly sending this just so the mailing list archive can help remember
> this for me ;)
>
> [1] http://gcc.gnu.org/viewcvs/trunk/gcc/cppdefault.c?view=markup#l44
>
> --
> Mook
>

The real fix is to sync what gcc wants with what we have, with
appropriate changes on both sides.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to