[Bug c/40564] Invalid -Wc++-compat warning about stringized C++ operator name

2010-06-29 Thread manu at gcc dot gnu dot org


--- Comment #2 from manu at gcc dot gnu dot org  2010-06-29 23:46 ---
I have another troublesome testcase:

/* { dg-do compile } */
/* { dg-options -Wall -Wextra -Wc++compat } */
#error \
In order for the format checking to accept the C front end diagnostic \
framework extensions, you must include this file before diagnostic-core.h \
not after.

I want to add the above in c-family/c-common.h


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||manu at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40564



[Bug c/40564] Invalid -Wc++-compat warning about stringized C++ operator name

2009-11-22 Thread jsm28 at gcc dot gnu dot org


-- 

jsm28 at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-11-22 20:20:31
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40564



[Bug c/40564] Invalid -Wc++-compat warning about stringized C++ operator name

2009-06-26 Thread joseph at codesourcery dot com


--- Comment #1 from joseph at codesourcery dot com  2009-06-26 22:44 ---
Subject: Re:   New: Invalid -Wc++-compat warning about stringized
 C++ operator name

A closely related case is:

#define foo not used

There is no important difference in the meaning of this between C and C++ 
if the macro is not expanded, so a warning for not is inappropriate.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40564