Commit fa6bcde7 authored by Patrik Huber's avatar Patrik Huber

Removed disabling of compiler warnings in pybind11_glm.hpp

We copied this from the pybind11/eigen.h header. If we need it, we can always re-add it.
parent a6601500
...@@ -15,11 +15,6 @@ ...@@ -15,11 +15,6 @@
#include "glm/gtc/type_ptr.hpp" // includes all vector and matrix types too #include "glm/gtc/type_ptr.hpp" // includes all vector and matrix types too
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable: 4127) // warning C4127: Conditional expression is constant
#endif
NAMESPACE_BEGIN(pybind11) NAMESPACE_BEGIN(pybind11)
NAMESPACE_BEGIN(detail) NAMESPACE_BEGIN(detail)
...@@ -312,7 +307,3 @@ struct type_caster<glm::tmat4x4<T, P>> ...@@ -312,7 +307,3 @@ struct type_caster<glm::tmat4x4<T, P>>
NAMESPACE_END(detail) NAMESPACE_END(detail)
NAMESPACE_END(pybind11) NAMESPACE_END(pybind11)
#if defined(_MSC_VER)
#pragma warning(pop)
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment