template problems

Nathan Sidwell nathan@acm.org
Wed Mar 31 23:54:00 GMT 1999


gnalle wrote:
> template <void f()>
> class A{
>   void B(A<g> x);
> };
> /home/gnalle/slettes/test2.C:3: Internal compiler error 71.
the 1.1.1 release dies with ICE71
the curent snapshot (19990321) compiles this ok,
nathan@manao:65>ss-g++ -c foo.cc
foo.cc:4: warning: all member functions in class `A<f>' are private

I don't know about 1.1.2, cos I've not built it

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
      You can up the bandwidth, but you can't up the speed of light      
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk



More information about the Gcc-bugs mailing list