This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 preprocessor/28022] Incorrect pedwarn for , expression in #if in c99 mode



------- 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


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