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++/3905: [parser] gcc 3.0 bogus error on sizeof (nested-type) in a template


Old Synopsis: gcc 3.0 bogus error on sizeof (nested-type) in a template
New Synopsis: [parser] gcc 3.0 bogus error on sizeof (nested-type) in a template

State-Changed-From-To: analyzed->suspended
State-Changed-By: bangerth
State-Changed-When: Fri Nov 15 17:03:09 2002
State-Changed-Why:
    Based on Loren's comment, I suspend this one until the new
    parser arrives. Present CVS does a little better in explaining
    the reason of this failure, by the way:
    tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -c x.cc
    x.cc: In instantiation of `S<char>':
    x.cc:22:   instantiated from here
    x.cc:14: error: call to non-function `S<T>::foo(int, S<T>::C) [with T = char]'
    x.cc:14: error: enumerator value for `val' not integer constant

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


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