Hello, I'm trying to use C++ math functions like std::round.
But it's not working , I'm getting error: 'std::round' has not been declared. I checked the math.h and I saw _GLIBCXX_USE_C99_MATH_TR1 and _GLIBCXX_USE_C99_MATH. So I tried to add those flags and now I'm getting new error like:
/usr/local/ps3dev/ppu/powerpc64-ps3-elf/include/c++/7.2.0/cmath:1164:11: error: '::log2l' has not been declared
How can I fix this? Thanks!
Hello, I'm trying to use C++ math functions like
std::round.But it's not working , I'm getting
error: 'std::round' has not been declared. I checked the math.h and I saw_GLIBCXX_USE_C99_MATH_TR1and_GLIBCXX_USE_C99_MATH. So I tried to add those flags and now I'm getting new error like:/usr/local/ps3dev/ppu/powerpc64-ps3-elf/include/c++/7.2.0/cmath:1164:11: error: '::log2l' has not been declaredHow can I fix this? Thanks!