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

Error compiling isnan() #100

Closed
TurBoss opened this issue Jul 1, 2016 · 5 comments
Closed

Error compiling isnan() #100

TurBoss opened this issue Jul 1, 2016 · 5 comments

Comments

@TurBoss
Copy link
Contributor

TurBoss commented Jul 1, 2016

Hi

Configure output: http://dpaste.com/2HAGKHS
Error: http://dpaste.com/0EB8BRS

I'm having this error when compiling master branch 3e93bfa on ubuntu 16.04

i'm building a simulator with --with-realtime=uspace

Thx

@SebKuzminsky
Copy link
Collaborator

Looks like a conflict in the definition of isnan() between the standard C++ header file "cmath" and boost.

Try the attached patch, which tells it to prefer the cmath implementation over the boost one.

isnan-patch.txt

@cradek cradek closed this as completed in f4eb375 Jul 1, 2016
@jepler
Copy link
Contributor

jepler commented Jul 1, 2016

Looks like we regressed, this was fixed once before at commit 9d6a5bc. If the patch isn't adequate, please re-open this issue with the next compile error if it looks like it's also about isnan, or open a new issue if it looks like something else.

@TurBoss
Copy link
Contributor Author

TurBoss commented Jul 1, 2016

it has passed the taskintf, but still compiling fine

will tell if finish

edit: Thx

@TurBoss
Copy link
Contributor Author

TurBoss commented Jul 1, 2016

now I'm getting this

http://dpaste.com/0GED3Z0

@TurBoss TurBoss changed the title Error compiling taskintf Error compiling isnan() Jul 1, 2016
@TurBoss
Copy link
Contributor Author

TurBoss commented Jul 1, 2016

sry can't reopen so I'm goin to create a new one

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

3 participants