This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15720] stdc-predef.h wrongly defines __STDC_IEC_559_COMPLEX__
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 07 Jul 2013 17:07:28 +0000
- Subject: [Bug libc/15720] stdc-predef.h wrongly defines __STDC_IEC_559_COMPLEX__
- Auto-submitted: auto-generated
- References: <bug-15720-131 at http dot sourceware dot org/bugzilla/>
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.