[Bug preprocessor/28022] Incorrect pedwarn for , expression in #if in c99 mode
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 14 11:12:00 GMT 2006
------- Comment #1 from joseph at codesourcery dot com 2006-06-14 11:03 -------
Subject: Re: New: Incorrect pedwarn for , expression
in #if in c99 mode
On Wed, 14 Jun 2006, sabre at nondot dot org wrote:
> This testcase:
>
> #if 1 , 0
> #endif
>
> Should not warn with -std=c99 -pedantic. It currently does due to an inverted
Why do you think that (with reference to the relevant subclauses and
paragraphs of the standard)? The existing conditional looks correct to
me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28022
More information about the Gcc-bugs
mailing list