🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by Webster Dove Tue, 06 Jun 1989 00:42
problem with 'log()' in tRational.cc
#529
Author: Webster Dove
Date: Tue, 06 Jun 1989 00:42
16 lines
1059 bytes
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads