This is the mail archive of the gcc-help@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]

Re: C++ porting to GCC problem


Hi Alex,

On this issue, GCC is compliant to the ISO 14882 standard, the other compilers are not. Change the offending line to...

typename T::Fish theFish = T::Cod;

...and everything should be better. (And should work on all the aforementioned compilers.)

HTH,
--Eljay


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