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: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2005 18:02:32 -0000
- Subject: [Bug preprocessor/22168] #if #A == #B should have a diagnostic in ISO C mode
- References: <20050624020406.22168.geoffk@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From geoffk at gcc dot gnu dot org 2005-06-24 18:02 -------
Yup, it's documented. However, it's still silently accepted even with -pedantic, and the language doesn't
permit that.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|#if #A == #B should have a |#if #A == #B should have a
|diagnostic |diagnostic in ISO C mode
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22168