------- Additional Comments From steven at gcc dot gnu dot org 2005-09-11 23:46 ------- For the reporter: what the compiler is telling you is that your code is not valid ISO C++. What it is not telling you is that G++ 3.3.4 did not really actually know what is valid C++ and what is not. In GCC 3.4 and later there is a new C++ parser that is ISO C++ conforming. Sadly for you, this means that while older G++ versions accepted your invalid C++, newer G++ releases do not, and you have to fix your code to make it work.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23826