------- Additional Comments From simon_baldwin at yahoo dot com 2005-09-02 19:12 ------- The problem's restricted to the C++ front end only, and is common across multiple releases and at the highest warning settings:
$ cat e.cc typedef enum { ZERO }; // error, malformed typedef, missing identifier typedef struct dummy {}; // ditto $ g++-4.1 -Wall -W -pedantic -c e.cc $ g++-4.0.1-k8 -Wall -W -pedantic -c e.cc $ g++-3.4.1 -Wall -W -pedantic -c e.cc $ g++-3.2.2 -Wall -W -pedantic -c e.cc $ g++-2.95 -Wall -W -pedantic -c e.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23689