gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] action.cpp:1272: error: call of overloaded `pow(int&, in


From: strk
Subject: Re: [Gnash-dev] action.cpp:1272: error: call of overloaded `pow(int&, int)' is ambiguous
Date: Tue, 18 Apr 2006 23:51:17 +0200

Follows up on this. I committed a patch that allows
a successful build, still I have this warning:

action.cpp: In function `void gnash::as_global_parseint(const gnash::fn_call&)
   ':
action.cpp:1281: warning: converting to `int' from `double'

Compiler is gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)

Any idea ?

--strk;


On Mon, Apr 10, 2006 at 09:46:54PM +0200, strk wrote:
> Error I get with current CVS:
> 
> action.cpp: In function `void gnash::as_global_parseint(const gnash::fn_call&)
>    ':
> action.cpp:1272: error: call of overloaded `pow(int&, int)' is ambiguous
> /usr/include/bits/mathcalls.h:154: error: candidates are: double pow(double,
>    double)
> /usr/include/c++/3.3/cmath:512: error:                 long double
>    std::pow(long double, int)
> /usr/include/c++/3.3/cmath:508: error:                 float std::pow(float,
>    int)
> /usr/include/c++/3.3/cmath:504: error:                 double std::pow(double,
>    int)
> /usr/include/c++/3.3/cmath:495: error:                 long double
>    std::pow(long double, long double)
> /usr/include/c++/3.3/cmath:486: error:                 float std::pow(float,
>    float)
> 
> Nobody else having the same error ?
> 
> --strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]