Browse Source

Fixed Visual C++ 2017.2 warning regarding __has_feature definision #655

Christophe Riccio 8 years ago
parent
commit
c834d06c27
2 changed files with 1 additions and 4 deletions
  1. 0 4
      glm/detail/setup.hpp
  2. 1 0
      readme.md

+ 0 - 4
glm/detail/setup.hpp

@@ -765,10 +765,6 @@ namespace glm
 ///////////////////////////////////////////////////////////////////////////////////
 // countof
 
-#ifndef __has_feature
-#	define __has_feature(x) 0 // Compatibility with non-clang compilers.
-#endif
-
 #if GLM_HAS_CONSTEXPR_PARTIAL
 	namespace glm
 	{

+ 1 - 0
readme.md

@@ -89,6 +89,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
 - Fixed axisAngle NaN #638
 - Fixed integer pow from GTX_integer with null exponent #658
 - Fixed quat normalize build error #656
+- Fixed Visual C++ 2017.2 warning regarding __has_feature definision #655
 
 #### Deprecation:
 - Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler