This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
template problem
- To: gcc at gcc dot gnu dot org
- Subject: template problem
- From: hnguyen <hnguyen at genome dot wi dot mit dot edu>
- Date: Fri, 12 Nov 1999 12:39:31 -0500
- Organization: Whitehead Institute
Hi,
I just install gcc-2.95.2 over 2.8 version. gcc-2.95.2 failed to compile
a program which was successfully compiled by gcc-2.8. Here is the
error:
g++ -gstabs+ -O -o test test.cc
nutils.h: In instantiation of `matrix<double>':
test.cc:20: instantiated from here
nutils.h:589: invalid use of undefined type `class matrix<double>'
nutils.h:659: forward declaration of `class matrix<double>'
make: *** [test] Error 1
Please help,
thanks,
hn