c++/3905: [parser] gcc 3.0 bogus error on sizeof (nested-type) in a template
bangerth@dealii.org
bangerth@dealii.org
Fri Nov 15 17:16:00 GMT 2002
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
More information about the Gcc-bugs
mailing list