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

template problem


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


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