string and member templates
Oleg Krivosheev
kriol@fnal.gov
Fri Sep 26 08:36:00 GMT 1997
Hi, Joe
On Thu, 25 Sep 1997, Joe Buck wrote:
> Date: Thu, 25 Sep 1997 16:44:56 -0700 (PDT)
> From: Joe Buck <jbuck@synopsys.com>
> To: egcs team <egcs@cygnus.com>
> Subject: string and member templates
>
> I see that the member template code in std/bastring.h is ifdef'ed out
> with #if 0. I suggest that this be changed to
>
just tried to build egcs with your patch
on Sun/Solaris Ultra box:
test -z "-fPIC" || \
/home/room1/kriol/egcs-970924/gcc/xgcc
-B/home/room1/kriol/egcs-970924/gcc/ -c -g -O2 -fno-implicit-templates -I.
-I./stl -I../libio -I./../libio -nostdinc++ -fPIC stdexcepti.cc -o
pic/stdexcepti.o
In file included from string:6,
from stdexcept:36,
from stdexcepti.cc:8:
std/bastring.h:156: type specifier omitted for parameter
std/bastring.h:156: parse error before `&'
std/bastring.h:156: invalid member template declaration
make[1]: *** [stdexcepti.o] Error 1
regards
OK
More information about the Gcc
mailing list