C++ template bug
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Wed Apr 22 03:21:00 GMT 1998
On Fri, 17 Apr 1998, Alex Solomonoff wrote:
> /usr/local/egcs102/bin/g++ -Wall -pedantic -ansi -g -o gcd gcd.cc
> gcd.cc:32: Internal compiler error.
> gcd.cc:32: Please submit a full bug report to `egcs-bugs@cygnus.com'.
> make: *** [gcd] Error 1
Thanks for your report.
You'll be happy to know that this has been fixed in the current
development snapshots where I get
x.cc:32: too many template parameter lists in declaration of `gcd()'
x.cc:32: confused by earlier errors, bailing out
instead.
Gerald
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
More information about the Gcc-bugs
mailing list