c++/9192: A compile error generated an internal error rather than an error message.
joe@draxil.uklinux.net
joe@draxil.uklinux.net
Mon Jan 13 05:17:00 GMT 2003
>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:
More information about the Gcc-bugs
mailing list