Hi Robert,
I don’t think the change has been submitted into SVN.
You are probably working on a load of other stuff, so I will try again
later.

Cheers

Martin.



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Robert Osfield
Sent: 22 October 2010 09:51
To: OpenSceneGraph Submissions
Subject: Re: [osg-submissions] Emailing: IncrementalCompileOperation.zip

HI Martin,

Thanks for the fix.  I've merged something slightly different, using
pow(2.0, double(i)) instead, but it should have the same effect.

Robert.

On Fri, Oct 22, 2010 at 8:43 AM, Martin Naylor
<[email protected]> wrote:
> Hi Robert,
> Please find attached a compiler fix for Windows under Visual 2008.
> I have added just a cast to double, but I suppose the arguments could be
> changed, I will leave that decision in your court :).
>
>
> Regards
>
> Martin.
>
>
>
> 2>.\IncrementalCompileOperation.cpp(223) : error C2668: 'pow' : ambiguous
> call to overloaded function
> 2>        d:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\include\math.h(575): could be 'long double pow(long double,int)'
> 2>        d:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\include\math.h(573): or       'long double pow(long double,long
> double)'
> 2>        d:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\include\math.h(527): or       'float pow(float,int)'
> 2>        d:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\include\math.h(525): or       'float pow(float,float)'
> 2>        d:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\include\math.h(489): or       'double pow(double,int)'
> 2>        d:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\include\math.h(123): or       'double pow(double,double)'
> 2>        while trying to match the argument list '(int, unsigned int)'
>
>
> Your message is ready to be sent with the following file or link
> attachments:
>
> IncrementalCompileOperation.zip
>
>
> Note: To protect against computer viruses, e-mail programs may prevent
> sending or receiving certain types of file attachments.  Check your e-mail
> security settings to determine how attachments are handled.
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.
org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.
org

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to