Alter-Native icon indicating copy to clipboard operation
Alter-Native copied to clipboard

'isnan' function is failing in linux

Open ghost opened this issue 7 years ago • 1 comments

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.

ghost avatar Nov 03 '16 18:11 ghost

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.

chris-english avatar Jan 07 '19 18:01 chris-english