[PATCH] do not install float.h, stddef.h and stdarg.h for mingw-w64

Kai Tietz ktietz70@googlemail.com
Tue Jan 19 19:02:00 GMT 2010


2010/1/19 Paolo Carlini <pcarlini@gmail.com>:
> Hi,
>
>> Hi:
>>
>> The mingw-w64 header set already provides float.h, stdarg.h and
>> stddef.h with their own additions. The attached patch makes gcc
>> to not install those headers for *-w64-mingw*. Please consider
>> for applying to 4.5. (I don't have write permissions. The patch
>> file has the ChangeLog.)
>
> Hummm. Now I have a question for the GWPs or in any case any maintainer
> knowing well the full range if targets which we are supporting: is the above
> request normal? Naively, I was thinking  that GCC installs *everywhere*
> float.h, as happens on Linux, for example. *If* that were true tweaking it a
> bit, eg, for decimal floating point in C++ would be so easy...

We would prefer to use GCC's basic headers here and we would like to
avoid the double work of maintaining duplicates headers with some, but
for -w64- target important, extensions. We tried in the near past an
attempt to add target specific next-includes to those headers, but
failed badly to get this into gcc. So we see at the moment no other
way to give our users a working gcc OOTB with for the target required
behavior.
We were forced to this step by many user bug-report we got in
mingw-w64 about the incompatible behavior of stddef.h, float.h, and
stdarg.h of gcc.

Regards,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination



More information about the Gcc-patches mailing list