call of overloaded 'pow(double, long int&)' is ambiguous

Post here your questions about the C++ API for SFS2X

Moderators: Lapo, Bax, MBagnati

running727
Posts: 1
Joined: 24 May 2013, 07:13

call of overloaded 'pow(double, long int&)' is ambiguous

Postby running727 » 21 Jun 2013, 09:42

When I build SmartFoxClientApi on Mac, it shows errors "call of overloaded 'pow(double, long int&)' is ambiguous" in ByteArray.cpp!
Mazyod
Posts: 25
Joined: 04 Sep 2012, 16:05

Re: call of overloaded 'pow(double, long int&)' is ambiguous

Postby Mazyod » 22 Jun 2013, 07:22

Yeah, just add :: before the pow function.
BTW, you are in for a hell of a ride, my friend. Compiling the library on Mac was no easy task, but no worries, I'm here to help, and hopefully we can make sure we make everything clear for the rest of the users.

Best.

Return to “SFS2X C++ API”

Who is online

Users browsing this forum: No registered users and 1 guest