c++/8019: g++ CRASHES on an illegal initialization in a template class instead of reporting an error
bangerth@dealii.org
bangerth@dealii.org
Mon Nov 4 15:15:00 GMT 2002
Synopsis: g++ CRASHES on an illegal initialization in a template class instead of reporting an error
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon Nov 4 15:15:20 2002
State-Changed-Why:
Works for me and reports correct (though at first sight
not very useful) message:
tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ x.cc
x.cc: In constructor `A<T>::A(T) [with T = int]':
x.cc:8: instantiated from here
x.cc:5: error: type `class A<int>' is not a direct base of `A<int>'
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8019
More information about the Gcc-prs
mailing list