c++/6758: [2003-01-01] ICE on nested type in template declaration

bangerth@dealii.org bangerth@dealii.org
Thu May 8 23:23:00 GMT 2003


Synopsis: [2003-01-01] ICE on nested type in template declaration

State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Thu May  8 23:22:08 2003
State-Changed-Why:
    Fixed on mainline:
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
    x.cc:4: error: type `typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>,
       std::_Select1st<std::pair<const _Key, _Tp> >, _Compare,
       _Alloc>::allocator_type' is not derived from type `Foo<T>'
    x.cc:4: error: ISO C++ forbids declaration of `reference' with no type
    x.cc:4: error: expected `;'

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6758



More information about the Gcc-bugs mailing list