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

test: Allow fenv pragma to be ignored #841

Closed
wants to merge 1 commit into from
Closed

test: Allow fenv pragma to be ignored #841

wants to merge 1 commit into from

Conversation

axic
Copy link
Member

@axic axic commented Jun 28, 2022

This is required for clean compilation on recent macOS.

Fixes #840.

This is required for clean compilation on recent macOS.
@axic axic requested review from chfast and gumb0 June 28, 2022 17:22
@axic
Copy link
Member Author

axic commented Jun 28, 2022

Okay I guess this doesn't work on Linux, just on mac.

@axic axic closed this Jun 28, 2022
@axic axic deleted the fenv-macos branch June 28, 2022 17:25
@@ -10,10 +10,13 @@
#include <array>
#include <cfenv>

#pragma GCC diagnostic push
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try clang instead of GCC.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This worked on macOS but I guess it just ignores these.

@axic axic mentioned this pull request Feb 15, 2023
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

Successfully merging this pull request may close these issues.

Fix macOS compilation for fizzy-unittests for floating points
2 participants