[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: C++ compiler problems with FC2



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 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]