This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: string and member templates



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]