When i compile C++ code in an Android NDK project i get:
expected unqualified-id before '(' token FPEnvironment_DUMMY.h /PocoFoundation/jni/include/Poco line 98 C/C++ Problem
The error origins from the lines:
inline bool FPEnvironmentImpl::isInfiniteImpl(double value)
{
return std::isinf(value) != 0;
}
The following packet is included:
#include <cmath>
It seems that the error disappear when i remove std::, why does this happen? I have to many source files to remove the class name std in all of them :/