Fixed build error due missing includes

'uninitialized' enum was referenced in 'ulp.inl' and 'func_vector_relational.inl' but the header where it is declared, 'type_vec.hpp' was not included in either.
Solution: include 'type_vec.hpp' in 'ulp.hpp' and 'func_vector_relational.hpp'
This commit is contained in:
Collin Baker 2014-10-29 01:38:04 -04:00
parent 2a2cd0b8d0
commit 87cfc312b4
2 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,9 @@
#include "precision.hpp" #include "precision.hpp"
#include "setup.hpp" #include "setup.hpp"
// Dependency for 'uninitialized' enum
#include "type_vec.hpp"
#if !((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER <= GLM_COMPILER_VC10)) // Workaround a Visual C++ bug #if !((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER <= GLM_COMPILER_VC10)) // Workaround a Visual C++ bug
namespace glm namespace glm

View File

@ -42,6 +42,7 @@
#include "../detail/setup.hpp" #include "../detail/setup.hpp"
#include "../detail/precision.hpp" #include "../detail/precision.hpp"
#include "../detail/type_int.hpp" #include "../detail/type_int.hpp"
#include "../detail/type_vec.hpp"
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
# pragma message("GLM: GLM_GTC_ulp extension included") # pragma message("GLM: GLM_GTC_ulp extension included")