-
Notifications
You must be signed in to change notification settings - Fork 402
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
FreeBSD / Clang18 build fails: error: use of infinity is undefined behavior due to the currently enabled floating-point options [-Werror,-Wnan-infinity-disabled] #7730
Comments
Which compiler are you using? Thanks |
Oh I see you say that. Clang 18. |
-Wno-nan-infinity-disabled is a workaround. |
So in a bit of a mystery, using clang-18.1 on windows I don't get any error building surge at head. I havent' tried on linux - we just fixed our pipeline actions to use 18.1 |
The c++ library that is used impacts errors generated by clang. |
Yeah definitely a libc or other os provided dep generating the error not on of our deps. |
You can easily reproduce the problem using these steps:
The options mitigating the problem are in the Makefile there. |
Is that an ironic use of the word easily? ;) |
It's easy because there are well-described steps without much chance of failure. |
Bug Description:
Surge XT Version
1.3.2
Reproduction Steps:
regular build
Computer Information (please complete the following!):
log
The text was updated successfully, but these errors were encountered: