On December 19, 2002 07:48 pm, Dan Kegel wrote: > gcc3.2 has them. I just verified that a fragment like that compiles fine > with g++3.2. Thank you. ChangeLog Enable nameless structures in C++ for gcc >= 3.x. (Discovery and testing done by Dan Kegel). Index: include/winnt.h =================================================================== RCS file: /var/cvs/wine/include/winnt.h,v retrieving revision 1.147 diff -u -r1.147 winnt.h --- include/winnt.h 19 Dec 2002 21:12:35 -0000 1.147 +++ include/winnt.h 20 Dec 2002 06:38:42 -0000 @@ -140,8 +140,8 @@ # define NONAMELESSSTRUCT # define NONAMELESSUNION #else -/* Anonymous struct support starts with gcc 2.96 */ -# if !defined(NONAMELESSSTRUCT) && (defined(__GNUC__) && (defined(__cplusplus) || ((__GNUC__ < 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ < 96))))) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) +/* Anonymous struct support starts with gcc 2.96 or gcc/g++ 3.x */ +# if !defined(NONAMELESSSTRUCT) && (defined(__GNUC__) && ((__GNUC__ < 2) || ((__GNUC__ == 2) && (defined(__cplusplus) || (__GNUC_MINOR__ < 96))))) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) # define NONAMELESSSTRUCT # endif /* Anonymous unions support starts with gcc 2.96/g++ 2.95 */ -- Dimi.