0_0_17578141_12807.cpp:11:26: error: no matching function for call to 'acos(int, int)'
const double PI=acos(-1,0);
^
0_0_17578141_12807.cpp:11:26: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:44:0,
from 0_0_17578141_12807.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:145:18: note: double acos(double)
double __cdecl acos(double _X);
^
GCC4.9.2/x86_64-w64-mingw32/include/math.h:145:18: note: candidate expects 1 argument, 2 provided
In file included from 0_0_17578141_12807.cpp:5:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:118:5: note: template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::acos(_Tp)
acos(_Tp __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:118:5: note: template argument deduction/substitution failed:
0_0_17578141_12807.cpp:11:26: note: candidate expects 1 argument, 2 provided
const double PI=acos(-1,0);
^
In file included from 0_0_17578141_12807.cpp:5:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:110:3: note: constexpr long double std::acos(long double)
acos(long double __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:110:3: note: candidate expects 1 argument, 2 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:106:3: note: constexpr float std::acos(float)
acos(float __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:106:3: note: candidate expects 1 argument, 2 provided
|