This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/40564] Invalid -Wc++-compat warning about stringized C++ operator name
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2009 22:44:46 -0000
- Subject: [Bug c/40564] Invalid -Wc++-compat warning about stringized C++ operator name
- References: <bug-40564-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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