This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5784: ice on template instantiation
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, martin dot vogt at fit dot fraunhofer dot de, nobody at gcc dot gnu dot org
- Date: 27 Feb 2002 00:41:06 -0000
- Subject: Re: c++/5784: ice on template instantiation
- Reply-to: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, martin dot vogt at fit dot fraunhofer dot de, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: ice on template instantiation
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Tue Feb 26 16:41:06 2002
State-Changed-Why:
Problem reproduced with gcc 3.0.4
With gcc version 3.1 20020217 (experimental),
the code compiles without crashing the compiler. However,
there are many warnings:
In file included from ../math/SparseMatrix.h:89,
from PointMatch.h:11,
from PointMatch.cc:10:
../math/SparseMatrix.icc:42: warning: `typename SparseMatrix<T>::Line' is
implicitly a typename
../math/SparseMatrix.icc:42: warning: implicit typename is deprecated, please
see the documentation for details
../math/SparseMatrix.icc:49: warning: `typename SparseMatrix<T>::Line' is
implicitly a typename
../math/SparseMatrix.icc:49: warning: implicit typename is deprecated, please
see the documentation for details
../math/SparseMatrix.icc:56: warning: `typename SparseMatrix<T>::Line' is
implicitly a typename
../math/SparseMatrix.icc:56: warning: implicit typename is deprecated, please
see the documentation for details
../math/SparseMatrix.icc:63: warning: `typename SparseMatrix<T>::Line' is
implicitly a typename
../math/SparseMatrix.icc:63: warning: implicit typename is deprecated, please
see the documentation for details
In file included from /home/vogt/montgomery/dev/greg/src/cc/include/Canvas.h:152,
from /home/vogt/montgomery/dev/greg/src/cc/include/SpotList.h:21,
from Point2DVector.h:16,
from RegionalPoint2DVector.h:12,
from PointMatch.h:12,
from PointMatch.cc:10:
/home/vogt/montgomery/dev/greg/src/cc/include/Canvas.icc:55: warning:
`typename
Canvas<T>::mode' is implicitly a typename
/home/vogt/montgomery/dev/greg/src/cc/include/Canvas.icc:55: warning:
implicit
typename is deprecated, please see the documentation for details
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5784