Alter-Native
Alter-Native copied to clipboard
'isnan' function is failing in linux
isnan function is failing in Linux due to latest c++ standard in compiler. I am using Lubuntu 16.04. The following error message is coming while building 'Lib'. error: ‘isnan’ was not declared in this scope. isnan was used in Lib/src/public/System/support/valuetypes.h file at two places(Line no: 60 & 75). I changed isnan to std::isnan to get rid of this error. could you please fix this.
This change of lines 60 & 75 from isnan to std::isnan, with export ALTERNATIVE_TOOLS_PATH=$HOME/Alter-Native/Tools as the CMAKE-CXX11.cmake is in Tools, not AlterNative.Tools as ./alternative-lib-compile.sh suggests. For those watching build success - it looks different than you'd expect with 1%'s successively, but each build is upon a different object, and hence success.