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
I am setting my environment to build my game engine on windows. I installed glm using vcpkg, this install glm version 1.0.1. But when I try to build my project it fails, shows several errors, here is one of them:
template
GLM_FUNC_DECL T max(T a, T b, T c);
that is at the file scalar_common.h
it says: attribute "nodiscard" does not apply here
I am setting my environment to build my game engine on windows. I installed glm using vcpkg, this install glm version 1.0.1. But when I try to build my project it fails, shows several errors, here is one of them:
template
GLM_FUNC_DECL T max(T a, T b, T c);
that is at the file scalar_common.h
it says: attribute "nodiscard" does not apply here
going to GLM_FUNC_DECL:
#define GLM_FUNC_DECL GLM_NODISCARD GLM_CUDA_FUNC_DECL.
also the same issue here:
template
GLM_FUNC_DECL T max(T a, T b, T c, T d);
Can somebody give a hand here?
P.S I am using C++17 to compile
The text was updated successfully, but these errors were encountered: