$ cat /tmp/t.cc typedef void GLvoid; extern void glEndTransformFeedbackEXT(GLvoid); il0102b-dhcp66 $ ./xgcc -B./ /tmp/t.cc -S /tmp/t.cc:2: error: '<anonymous>' has incomplete type /tmp/t.cc:2: error: invalid use of 'GLvoid' $ gcc-4.0 /tmp/t.cc -S $ This breaks use of some OpenGL by C++. This is a regression I think from 4.0.
And this is invalid code IIRC.
Found in build of fltk-2.0.x-r5547 http://www.fltk.org/ for i686-apple-darwin9.
In fact this is a dup of bug 9278 which was fixed in 4.2.0. *** This bug has been marked as a duplicate of 9278 *** *** This bug has been marked as a duplicate of 9278 ***
there has already been two Defect reports to the C++ standards committee about this: http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_closed.html#18 http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#577
:-( Oh well, sorry for the noise...
Ah...