This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
internal compiler error
- To: egcs-bugs at cygnus dot com
- Subject: internal compiler error
- From: Jonathan Magid <jem at sunsite dot unc dot edu>
- Date: Wed, 3 Jun 1998 15:11:56 -0400 (EDT)
Hi-
I'm using egcs 1.03:
$ g++ -v
Reading specs from /usr/local/lib/gcc-lib/i686-linux/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
and I got the following error message:
$ g++ -c jemvect.cc
jemvect.cc:12: Internal compiler error.
jemvect.cc:12: Please submit a full bug report to `egcs-bugs@cygnus.com'.
>From putting the return type in the wrong place in a template method
definition:
T& template<class T> jemvect<T>::operator[] (int index) const {
}
instead of:
template<class T> T& jemvect<T>::operator[] (int index) const {
}
hope this was helpful.
cheers,
jem.