This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
initialization and enums in new version of gcc
- From: "Laura Tardivo" <lauratardivo at dc dot exa dot unrc dot edu dot ar>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 25 Jan 2007 16:39:23 -0300
- Subject: initialization and enums in new version of gcc
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.-