mirror of
https://github.com/g-truc/glm.git
synced 2024-11-15 22:34:35 +00:00
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:
parent
2a2cd0b8d0
commit
87cfc312b4
@ -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
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user