Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'isnan' function is failing in linux #10

Open
ghost opened this issue Nov 3, 2016 · 1 comment
Open

'isnan' function is failing in linux #10

ghost opened this issue Nov 3, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 3, 2016

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.

@chris-english
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant