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

’feenableexcept’ doesn’t exist on OSX. #1941

Closed
davidbuzz opened this issue Mar 3, 2015 · 3 comments
Closed

’feenableexcept’ doesn’t exist on OSX. #1941

davidbuzz opened this issue Mar 3, 2015 · 3 comments
Labels

Comments

@davidbuzz
Copy link
Collaborator

please cherry-pick this tiny fix:
davidbuzz/ardupilot-mega-buzz@bf8dc3a

@davidbuzz
Copy link
Collaborator Author

try compiling diydrones/master on OSX, and this error occurs:
‘make sitl’ gives me this: “/Users/buzz/UAV/ardupilot/libraries/AP_HAL_AVR_SITL/Scheduler.cpp:213:9: error: use of undeclared identifier 'feenableexcept'; did you mean 'feraiseexcept'?"
the above fixes it.

@rmackay9
Copy link
Contributor

I'll bet doing this as a PR will make it more likely that it gets into master.

@OXINARF
Copy link
Member

OXINARF commented Jun 2, 2017

This has been fixed. Although AVR doesn't exist anymore, current SITL also uses feenableexcept. A workaround for OSX was included: https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Common/missing/fenv.h

@OXINARF OXINARF closed this as completed Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants