-
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
GLM_FORCE_PURE doesn't work with C++11 after 68c7e7e50b #832
Comments
The issue here is a difference in what
So this means that: Lines 89 to 90 in ddebaba
Becomes, in C++11:
Which differs only in return type. In C++14 onwards, it's OK, there is a a
I'm not sure exactly what the logic in Lines 281 to 288 in ddebaba
|
is there any workaround? |
you could revert 68c7e7e |
You can also build with C++14 or later or unset |
This issue should be fixed in the master branch for GLM 0.9.9.4 release. Thanks for reporting |
thanks for fixing! do you have an estimate when 0.9.9.4 will come out? |
After upgrading to 0.9.9.3 (Arch), code which sets
GLM_FORCE_PURE
can no longer be built. This includes, for example, KiCad.Reverting 68c7e7e fixes it. This only occurs with C++11 (i.e. constexpr is available) and if
GLM_FORCE_PURE
is defined. C++14 works.Attached is a simple example that doesn't compile.
Sample compilation error:
err.txt
glm_test.tar.gz
The text was updated successfully, but these errors were encountered: