This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
template + friend => Internal compiler error 9.
- To: egcs-bugs at cygnus dot com, egcs-bugs at cygnus dot com
- Subject: template + friend => Internal compiler error 9.
- From: njs3 at doc dot ic dot ac dot uk (Niall Smart)
- Date: Mon, 16 Feb 1998 18:37:56 +0000
Hi,
Before I begin, congratulations on egcs, in general it is great.
[jami@sprite56 ~]$ cat foo.cc
class C {
template<class T> friend foo<T>(const T& t);
};
[jami@sprite56 ~]$ g++ -v
Reading specs from /usr/local/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/specs
gcc version egcs-2.90.23 980102 (egcs-1.0.1 release)
[jami@sprite56 ~]$ g++ foo.cc
foo.cc:2: Internal compiler error 9.
foo.cc:2: Please submit a full bug report to `egcs-bugs@cygnus.com'.
[jami@sprite56 ~]$
I'm not even sure if this is legal syntax.
Niall