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
Enabling if constexpr is done by giving priority to the compiler capabilities. Hence, if project has the compiler but is fixed to work on lower standard it will complain. That is, it fails to compile. Example:
../share/glm/gtx/../gtc/../gtc/../gtc/../ext/matrix_transform.inl: In function'glm::mat<4, 4, T, Q> glm::lookAt(const glm::vec<3, T, Q>&, const glm::vec<3, T, Q>&, const glm::vec<3, T, Q>&)':../share/glm/detail/setup.hpp:312:31: warning: 'if constexpr' only available with -std=c++17 or -std=gnu++17 # define GLM_IF_CONSTEXPR if constexpr ^~~~~~~~~
GCC 8.x compiles project fixed on C++14
Enabling
if constexpr
is done by giving priority to the compiler capabilities. Hence, if project has the compiler but is fixed to work on lower standard it will complain. That is, it fails to compile. Example:Reference to the implementation:
glm/glm/detail/setup.hpp
Line 297 in fce2abd
The text was updated successfully, but these errors were encountered: