This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/28227] New: valid #ifdef rejected
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2006 01:21:50 -0000
- Subject: [Bug preprocessor/28227] New: valid #ifdef rejected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GCC rejects this:
#ifdef defined
#endif
Even though C99 6.10.8.4 specifies that 'defined' is only disallowed after
#undef or #define.
-Chris
--
Summary: valid #ifdef rejected
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sabre at nondot dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28227