This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: C++ porting to GCC problem
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Alex Bond <alex_bond76 at hotmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Wed, 17 Nov 2004 09:45:07 -0600
- Subject: Re: C++ porting to GCC problem
- References: <BAY101-F32T7eEmP9CD000151a8@hotmail.com>
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