forked from icaven/glm
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
I got following error with C++11 mode on gcc 4.8 (I used latest version):
third_party/include/glm/core/type_int.hpp:207:10: error: redefinition of 'struct glm::detail::is_int<long int>' struct is_int<T> \ ^ third_party/include/glm/core/type_int.hpp:220:2: note: in expansion of macro 'GLM_DETAIL_IS_INT' GLM_DETAIL_IS_INT(highp_int_t); ^ compilation terminated due to -Wfatal-errors.
I have a fix, but I'm not sure if it's the best possible one as I don't know enough of glm's internal typing system. https://github.com/KillianDS/glm/commit/173928ca8a8622798f557f334c9b606e0be22590 (That branch also includes a fix for an issue I had with clang).