[gnu.g++.lib.bug] problem with 'log

dove@UUNET.UU.NET (Webster Dove) (06/06/89)

I got this from g++-1.35.0.

cd /nfs/asp_2/disk_a/local/src/gnu/libg++-1.35.0/tests/
make tRational
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
make: Fatal error: Command failed for target `tRational.o'

Compilation exited abnormally with code 1 at Mon Jun  5 19:35:57

Casting approxe to (double) eliminated the error message, but I don't
understand why it was ambiguous.  There is only one form of log
defined as far as I can tell.