------- Comment #4 from gzljg at hotmail dot com 2007-02-26 23:14 ------- I would rather to blame on Suse 10(I happend to verify on that machine). It doesn't work for a gcc 3.3.5(prerelease) version ===>
myweb:> g++ -v Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux Thread model: posix gcc version 3.3.5 20050117 (prerelease) (SUSE Linux) myweb:> make g++ -g -DDEBUG -Wall -c test.C -o test.o test.C:17: error: `Anonymous' must be initialized by constructor, not by `{...}' make: *** [test.o] Error 1 Anyways, I rerun the test case with other compiler, such as gcc 3.3.3, 4.1.2, both works fine now. PS. I don't have a gcc 3.3.5 official release version to verify. -- gzljg at hotmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30962