This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/9192: A compile error generated an internal error rather than an error message.
- From: joe at draxil dot uklinux dot net
- To: gcc-gnats at gcc dot gnu dot org
- Date: 6 Jan 2003 16:49:40 -0000
- Subject: c++/9192: A compile error generated an internal error rather than an error message.
- Reply-to: joe at draxil dot uklinux dot net
>Number: 9192
>Category: c++
>Synopsis: A compile error generated an internal error rather than an error message.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 06 08:56:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: joe higton
>Release: gcc version 2.95.4 20011002 (Debian prerelease)
>Organization:
>Environment:
>Description:
A mangled function declairation produced an internal error. Declaration was part of a template class. Here is the version of the declairation that caused the error (and relibly does cause said error:
DataClass *DataSet::Data(int i)
Here is the correct version:
template <class DataClass>
DataClass *DataSet<DataClass>::Data(int i)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: