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++/9849: malformed template typename produces strange diagnostic


Synopsis: malformed template typename produces strange diagnostic

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Feb 26 17:06:02 2003
State-Changed-Why:
    Confirmed. 3.4 spits out another set of messages:
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
    x.cc:8: error: variable or field `foo' declared void
    x.cc:8: error: template declaration of `int foo'
    x.cc:8: error: expected `('
    x.cc:8: error: expected primary-expression
    x.cc:8: error: expected primary-expression
    x.cc:8: error: expected expected `;'
    
    They are so far off the true reason that I consider this
    a bug.

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


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