This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]