This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/23826] invalid use of constructor as a template


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]