You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason why this has since been removed as of the latest development branch (as far as I can tell)? There doesn't appear to be a way to simply mute anonymous struct warnings in GCC and pedantic is required for my code base.
I'm able to make the changes locally with no pedantic errors, but I believe this issue has actually regressed into all places where it was previously needed (quaternion and vec1 need this as well?)
The text was updated successfully, but these errors were encountered:
Cazadorro
changed the title
GLM can't handle [-Werror=pedantic] again (GLM 0.9.9.2)
GLM can't handle -Werror again (GLM 0.9.9.2)
Sep 14, 2018
Cazadorro
changed the title
GLM can't handle -Werror again (GLM 0.9.9.2)
GLM can't handle -Wpedantic again (GLM 0.9.9.2)
Sep 14, 2018
similar to this issue #524
Since 2016, GLM has been modified such that anonymous struct checks against GCC
-Wpedantic
cause warnings again. This appears to be becauseglm/detail/type_vec2.hpp
,glm/detail/type_vec3.hpp
andglm/detail/type_vec4.hpp
have actually removed the fix seen already in use hereerror example:
Last time the following lines were used to simply suppress compiler warnings at critical sites, like so:
Is there a reason why this has since been removed as of the latest development branch (as far as I can tell)? There doesn't appear to be a way to simply mute anonymous struct warnings in GCC and pedantic is required for my code base.
I'm able to make the changes locally with no pedantic errors, but I believe this issue has actually regressed into all places where it was previously needed (quaternion and vec1 need this as well?)
The text was updated successfully, but these errors were encountered: