From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6312 invoked by alias); 7 Jul 2013 17:07:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 5745 invoked by uid 55); 7 Jul 2013 17:07:29 -0000 From: "bugdal at aerifal dot cx" To: glibc-bugs@sourceware.org Subject: [Bug libc/15720] stdc-predef.h wrongly defines __STDC_IEC_559_COMPLEX__ Date: Sun, 07 Jul 2013 17:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugdal at aerifal dot cx X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg00030.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15720 --- Comment #4 from Rich Felker --- 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.