Closed rtbo closed 11 years ago
This can be achieved by testing for __cplusplus macro in setup.hpp.
from http://gcc.gnu.org/gcc-4.7/changes.html : "G++ now sets the predefined macro __cplusplus to the correct value, 199711L for C++98/03, and 201103L for C++11"
The workaround is to define GLM_FORCE_CXX11
This issue is now fixed in GLM 0.9.4 for the upcoming release.
Thanks for contributing!! Christophe
This can be achieved by testing for __cplusplus macro in setup.hpp.
from http://gcc.gnu.org/gcc-4.7/changes.html : "G++ now sets the predefined macro __cplusplus to the correct value, 199711L for C++98/03, and 201103L for C++11"
The workaround is to define GLM_FORCE_CXX11