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

This commit is contained in:
Christophe Riccio 2017-07-24 12:20:58 +02:00
parent 3c7bd2eb53
commit c834d06c27
2 changed files with 1 additions and 4 deletions

View File

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

View File

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