forked from icaven/glm
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Compilation warnings about abs() #484
Comments
Hi, I applied your proposed fix on both 0.9.7 and master branches. Thanks for reporting! |
Thanks, that was fast! There was a second warning in the same file for |
Fixed! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting some compilation warnings from
glm/detail/func_trigonometric.inl
:The above warnings are from Clang on OS X, but I think I remember seeing them on some other platform as well.
Like the warning message suggests, changing
abs(x)
tostd::abs(x)
seems to fix this.The text was updated successfully, but these errors were encountered: