Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ADS.COM!barry From: barry@ADS.COM Newsgroups: gnu.g++.lib.bug Subject: All of libg++ and friends compile except for ... Message-ID: <8905172255.AA00715@confusion.ads.com> Date: 17 May 89 22:55:23 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 31 g++-1.35.0 from Labrea libg++-1.35.0 also from Labrea When compiling the files in the tests directory I run into one problem. tRational.cc gets the following error: (cd src; make GXX="g++" CC="gcc") (cd tests; make GXX="g++" LIBDIR="/usr/local/gnu/lib") g++ -g -O -fchar-charconst -I../g++-include -I. -fstrength-reduce -c tRational .cc In function void etest (long int): tRational.cc:168: call of overloaded `log' is ambiguous tRational.cc:169: call of overloaded `log' is ambiguous *** Error code 1 The code in question: void etest(long n) { cout << "approximating e as pow(1+1/n),n) for n =" << n << "\n"; Rational approxe = estimate_e(n); assert(approxe.OK()); cout << "double(approxe) = " << double(approxe) << "\n"; cout << "log(approxe) = " << log(approxe) << "\n"; assert(log(approxe) <= 1.0); cout << "approxe = " << approxe << "\n"; } barry