struct S
{
int m
};
This compiles as a C program (not as C++) with "warning: no semicolon at end of
struct or union".
I checked the c99 document and the semicolon seems to be mandatory.
--
Summary: gcc allows last member of a struct or union without a
semicolon
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: get dot sonic at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38714
