g++ bug (maybe in egcs): no matching template for ...

Ronald.Wahl@Informatik.TU-Chemnitz.DE Ronald.Wahl@Informatik.TU-Chemnitz.DE
Mon Sep 29 14:24:00 GMT 1997


Hi,

just tried compiling libg++-2.7.2.8 for linux with the latest egcs based
pgcc. It stops with:

if [ -n "-fpic" ]; then \
  gcc -c -O6 -fno-omit-frame-pointer -pipe -fno-implicit-templates -I.
-I../libio -I./../libio -nostdinc++ -fpic -DC \
    `for N in EXTRACT INSERT GETLINE; do echo " -D${N}"; done` \
    ./sinst.cc -o pic/cstrio.o; \
else true ; fi
./sinst.cc:146: no matching template for `getline(istream &,
basic_string<char,string_char_traits<char> > &)' found
make[1]: *** [bigstmp-string] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/libg++-2.7.2.8/libstdc++'
make: *** [all-target-libstdc++] Error 2

gcc-2.7.2.3 compiles the file without a problem.

My version of pgcc:

	egcs-2.90.10p 970924 (gcc2-970802 experimental)

Any comments?

ron

-- 
\ Ronald Wahl --- rwa@informatik.tu-chemnitz.de   \
 \ WWW: http://www.tu-chemnitz.de/~row             \
  \ Talk: rwa@goliath.csn.tu-chemnitz.de            \
   \ PGP key available by finger to my email address \




More information about the Gcc-bugs mailing list