This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/22168] #if #A == #B should have a diagnostic in ISO C mode
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2006 02:54:14 -0000
- Subject: [Bug preprocessor/22168] #if #A == #B should have a diagnostic in ISO C mode
- References: <bug-22168-638@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from tromey at gcc dot gnu dot org 2006-12-29 02:54 -------
I am testing a patch for this.
It pedwarns on '#foo' in an expression, and also when #assert or
#unassert is used. It also warns about these when -Wdeprecated
is given.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22168