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
Versions: 0.9.7.1 (bitfield.inl), 0.9.5.4 (bit.inl)
Compiler: gcc 4.1 (fails both versions), gcc 4.8.3 (succeed both versions)
Tried to compile tests on x86, got this
glm/./gtx/bit.inl:551: error: integer constant is too large for 'long' type
Constants like 0xFFFF00000000FFFF is 64 bits long, which is allowed in C++11 only.
Relatively new GCC just gives a warning, but old versions of GCC can't compile it, showing an error.
Maybe adding ULL to the constants can help (0xFFFF00000000FFFFULL). Didn't test, though.
The text was updated successfully, but these errors were encountered:
Currently GLM requires at least GCC 4.2 but I guess if there is issues with GCC 4.2, I'll rather rise the GCC version requires than hack away 64 bits support.
Versions: 0.9.7.1 (bitfield.inl), 0.9.5.4 (bit.inl)
Compiler: gcc 4.1 (fails both versions), gcc 4.8.3 (succeed both versions)
Tried to compile tests on x86, got this
glm/./gtx/bit.inl:551: error: integer constant is too large for 'long' type
Constants like 0xFFFF00000000FFFF is 64 bits long, which is allowed in C++11 only.
Relatively new GCC just gives a warning, but old versions of GCC can't compile it, showing an error.
Maybe adding ULL to the constants can help (0xFFFF00000000FFFFULL). Didn't test, though.
The text was updated successfully, but these errors were encountered: