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