Re: GCC 2.95.3-5 Internal Compiler Error for template, friend

2002-01-10 Thread Corinna Vinschen
On Thu, Jan 10, 2002 at 06:20:41PM +0900, Humitaka Tamura wrote: > Hello. > > GCC 2.95.3-5 reports internal compiler error for the following source > code. Maybe it's only the cygwin special version's case, since other > versions of gcc (2.96, egcs-2.91.66) for Linux can compile it well. You sho

GCC 2.95.3-5 Internal Compiler Error for template, friend

2002-01-10 Thread Humitaka Tamura
Hello. GCC 2.95.3-5 reports internal compiler error for the following source code. Maybe it's only the cygwin special version's case, since other versions of gcc (2.96, egcs-2.91.66) for Linux can compile it well. -- class A { public: void f() {} }; template class C { friend void A: