The following obeys the syntax, semantics and constraints of C99, but is rejected with -pedantic-errors
extern int x; #if 0 ? 2,3 : 2 #endif -- Summary: Valid pp-expression rejected in C99 mode Product: gcc Version: 4.1.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35313