Re: C++ porting to GCC problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux