From 35b0d2afd863b83c30c532910c26ff1d0ca98891 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 28 Aug 2013 11:06:11 +0200 Subject: [PATCH] Fixed a Visual C++ 10 bug regarding declaration of templates --- glm/core/func_vector_relational.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glm/core/func_vector_relational.hpp b/glm/core/func_vector_relational.hpp index b2fe4407..c7e8b458 100644 --- a/glm/core/func_vector_relational.hpp +++ b/glm/core/func_vector_relational.hpp @@ -41,6 +41,8 @@ #ifndef GLM_CORE_func_vector_relational #define GLM_CORE_func_vector_relational GLM_VERSION +#if !((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER <= GLM_COMPILER_VC10)) // Workaround a Visual C++ bug + namespace glm { /// @addtogroup core_func_vector_relational @@ -131,6 +133,8 @@ namespace glm /// @} }//namespace glm +#endif + #include "func_vector_relational.inl" #endif//GLM_CORE_func_vector_relational