c++/9191: A compile error generated an internal error rather than an error message.

joe@draxil.uklinux.net joe@draxil.uklinux.net
Mon Jan 6 16:56:00 GMT 2003


>Number:         9191
>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:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     joe higton
>Release:        unknown-1.0
>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-prs mailing list