This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch win32]: fix for PR target/41943
> ? ? ? ?(i[34567]86-*-mingw* | x86_64-*-mingw*): Use
> ? ? ? ?for float.h post, and for w64 targets stddef.h/stdarg.h pre
> ? ? ? ?fixing by include_next.
The mingw323 float.h is alrewady prefixed with
#include_next<float.h>
#ifndef _MINGW_FLOAT_H_
#define _MINGW_FLOAT_H_
....
Postfixing #include_next <float.h> onto gcc's float.h causes:
gcc -H -Wall f.c
. c:\mingw\bin\../lib/gcc/mingw32/4.6.0/../../../../include/float.h
.. c:\mingw\bin\../lib/gcc/mingw32/4.6.0/include/float.h
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.6.0/../../../../include/
float.h:19:0,
from f.c:1:
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.
Danny