This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: c++/8019: g++ CRASHES on an illegal initialization in a template class instead of reporting an error


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


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