On 11 Jul 2013, at 19:52, Tijl Coosemans <t...@coosemans.org> wrote:

> GCC doesn't support _Generic yet for -std=c11.

Ugh.  Given that they also lack a fine-grained feature check mechanism, they 
really should not advertise support for a language dialect if they don't 
support it.

> 
>> +#elif __GNUC_PREREQ__(5, 1)
> 
> GCC 3.1?

Ooops, I changed this to 5.1 to test the other code path and forgot to revert 
it.

> Last __fpclassifyd should be __fpclassifyl.

Fixed.

>> @@ -227,8 +250,6 @@ double   expm1(double);
>> double       fma(double, double, double);
>> double       hypot(double, double);
>> int  ilogb(double) __pure2;
>> -int (isinf)(double) __pure2;
>> -int (isnan)(double) __pure2;
> 
> I think they should stay for the C90 case.

That would completely defeat the point of this entire exercise and be redundant 
unless we aim to support a compiler that only supports C90 and no GNU 
extensions, in which case you'll hit errors in cdefs.h, long before you get to 
this point in an include.  

David


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to