-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
crossplattform: enable math constants on all plattforms #218
Conversation
a839a4d
to
b75daec
Compare
boooo 👎
|
see the previous comment. I think it breaks (on msys) because cmath gets imported earlier in the build process without the however, on linux it builds fine, lol i'm poor man's travis |
Hmm, but then i see no other solution than defining the constants manually to the actual numbers. We can't manipulate the inclusion order and devs will want to include |
These guys were defining that macro on CMakeLists, but since then migrated too boost:
http://www.sbin.org/doc/glibc/libc_19.html My vote goes to hardcode the constants without relying on the cmath behaviour. |
typo on crossplattform! |
oh lol 👊 but the idea of pullrequesting at forks is pretty good actually |
88757bd
to
2a0b71a
Compare
builds fine on msys2 now, 👍 |
half typos remaining!
not a big issue... you can decide how nazi is our grammar policy :D |
👍 |
crossplattform: enable math constants on all plattforms
gentlemen let's honor SFTtech#218 pls to be squashed: forgot about the import
This introduces namespaced math constants available on all plattforms.
closes #208.