This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: template problems
- To: gnalle <gnalle at ruc dot dk>
- Subject: Re: template problems
- From: Nathan Sidwell <nathan at acm dot org>
- Date: Tue, 23 Mar 1999 18:47:20 +0000
- CC: egcs-bugs at egcs dot cygnus dot com
- Organization: University of Bristol
- References: <36F7DCFA.32CE96BA@ruc.dk>
- Reply-To: nathan at compsci dot bristol dot ac dot uk
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