[path to project]/calculatePi.cpp: In function 'double calculatePi(long int)':
[path to project]/calculatePi.cpp:38: error: call of overloaded 'pow(int, long int&)' is ambiguous
/Developer/SDKs/MacOSX10.6.sdk/usr/include/architecture/i386/math.h:343: note: candidates are: double pow(double, double)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:373: note: long double std::pow(long double, int)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:369: note: float std::pow(float, int)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:365: note: double std::pow(double, int)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:361: note: long double std::pow(long double, long double)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:357: note: float std::pow(float, float)
[path to project]/calculatePi.cpp:38: error: call of overloaded 'pow(int, int)' is ambiguous
/Developer/SDKs/MacOSX10.6.sdk/usr/include/architecture/i386/math.h:343: note: candidates are: double pow(double, double)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:373: note: long double std::pow(long double, int)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:369: note: float std::pow(float, int)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:365: note: double std::pow(double, int)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:361: note: long double std::pow(long double, long double)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:357: note: float std::pow(float, float)
[path to project]/calculatePi.cpp:38: error: call of overloaded 'pow(int, long int)' is ambiguous
/Developer/SDKs/MacOSX10.6.sdk/usr/include/architecture/i386/math.h:343: note: candidates are: double pow(double, double)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:373: note: long double std::pow(long double, int)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:369: note: float std::pow(float, int)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:365: note: double std::pow(double, int)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:361: note: long double std::pow(long double, long double)
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cmath:357: note: float std::pow(float, float) |