This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/15720] stdc-predef.h wrongly defines __STDC_IEC_559_COMPLEX__


http://sourceware.org/bugzilla/show_bug.cgi?id=15720

--- Comment #4 from Rich Felker <bugdal at aerifal dot cx> ---
On Sun, Jul 07, 2013 at 04:21:04PM +0000, joseph at codesourcery dot com wrote:
> Not much good.  You can't use __STDC_VERSION__ in practice to tell what 
> level of C11 features is supported,

Combined with the other new __STDC_NO_*__ macros introduced in C11,
you should be able to determine which features are available.

> can't use __STDC__ to tell if 
> trigraphs are supported,

This is a bug in GCC, but anybody using trigraphs intentionally or
otherwise should just be taken out back anyway...

Anyway, the definition of the __STDC_IEC_559_COMPLEX__ macro is just
misleading and wrong, so I think this should be fixed. Defining it
does not provide anything of value, and does cause problems for
applications.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]