C++ compiler problems with FC2
Robert L Cochran
cochranb at speakeasy.net
Tue Aug 31 22:23:53 UTC 2004
If you look again at my original post on this, you can see the source.
It's your source.
Explicitly converting constants to doubles per Ed Hill's suggestion
allowed the code to compile without error and run.
Bob
On Tue, 2004-08-31 at 02:44, Paul wrote:
> Hi,
>
> > [rlc at bobcp4 cpp]$ g++ -Wall -pedantic -o tsine tsine.cpp
> > tsine.cpp: In function `int main()':
> > tsine.cpp:8: error: call of overloaded `sin(int)' is ambiguous
>
> Without seeing the source, how is a chap to know what you're doing?
>
> TTFN
>
> Paul
More information about the fedora-test-list
mailing list