This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3905: [parser] gcc 3.0 bogus error on sizeof (nested-type) in a template
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, sebor at roguewave dot com
- Date: 16 Nov 2002 01:03:09 -0000
- Subject: Re: c++/3905: [parser] gcc 3.0 bogus error on sizeof (nested-type) in a template
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, sebor at roguewave dot com, gcc-gnats at gcc dot gnu dot org
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