The following code is rejects (even though it is valid C99 and Mark said we should have the C++ front- end accept it also): typedef struct { unsigned char dir; int data[]; } AiDefaultRailBlock; static const AiDefaultRailBlock _raildata_ai_0 = { 1, { 0, 4 } };
-- Summary: Rejects valid C99 for the C++ front-end Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: minor Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20407