Re: [Bug c++/38764] New: bogus 'changes meaning' error?

2009-01-08 Thread Andrew Thomas Pinski
On Jan 8, 2009, at 4:22 AM, "pluto at agmk dot net" > wrote: following code snipet is reducted testcase from external application. g++ and comeau online accept/reject source differently. template < class T > struct A { }; template < class U > struct B { #if 1 typedef A< float > A; // <

[Bug c++/38764] New: bogus 'changes meaning' error?

2009-01-08 Thread pluto at agmk dot net
following code snipet is reducted testcase from external application. g++ and comeau online accept/reject source differently. template < class T > struct A { }; template < class U > struct B { #if 1 typedef A< float > A; // <-- accepted by comeau but... // g++: error: declaration o