This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help with templates
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Ricardo Santos <rs at isctem dot com>, gcc-help at gcc dot gnu dot org
- Date: Thu, 12 Aug 2004 12:50:44 -0500
- Subject: Re: Help with templates
- References: <411B97A8.4050607@isctem.com>
Hi Ricardo,
It looks like the main function does not have access to the template
declaration.
Is your template declaration in your StackAr.cpp? Then you'll need #include
"StackAr.cpp" for your main, presuming main is located in mStackAr.cpp.
Or vice-versa, if I have StackAr.cpp and mStackAr.cpp reversed.
HTH,
--Eljay