Re: initialization and enums in new version of gcc

2007-01-25 Thread Ian Lance Taylor
"Laura Tardivo" <[EMAIL PROTECTED]> writes: > I whant to know if the enum definition was changed in the last versions of > gcc because in the ansi C you can not define: > > enum COLOR{RED,GREEN,}; > > the last comma only is correct if you are defining an initialization of a > variable. But it

initialization and enums in new version of gcc

2007-01-25 Thread Laura Tardivo
I whant to know if the enum definition was changed in the last versions of gcc because in the ansi C you can not define: enum COLOR{RED,GREEN,}; the last comma only is correct if you are defining an initialization of a variable. But it is allowed in gcc 4.1.1 Laura.-