Fixed Clang version detection from source #608

This commit is contained in:
Christophe Riccio 2017-02-16 01:07:16 +01:00
parent 5dcc56489e
commit 8d3bc422e1
3 changed files with 7 additions and 3 deletions

View File

@ -36,11 +36,11 @@
#define GLM_VERSION_MAJOR 0 #define GLM_VERSION_MAJOR 0
#define GLM_VERSION_MINOR 9 #define GLM_VERSION_MINOR 9
#define GLM_VERSION_PATCH 8 #define GLM_VERSION_PATCH 8
#define GLM_VERSION_REVISION 4 #define GLM_VERSION_REVISION 5
#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_VERSION_DISPLAYED) #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_VERSION_DISPLAYED)
# define GLM_MESSAGE_VERSION_DISPLAYED # define GLM_MESSAGE_VERSION_DISPLAYED
# pragma message ("GLM: version 0.9.8.4") # pragma message ("GLM: version 0.9.8.5")
#endif//GLM_MESSAGES #endif//GLM_MESSAGES
// Report compiler detection // Report compiler detection

View File

@ -177,7 +177,7 @@
// Clang // Clang
#elif defined(__clang__) #elif defined(__clang__)
# if GLM_PLATFORM & GLM_PLATFORM_APPLE # if defined(__apple_build_version__)
# if __clang_major__ == 5 && __clang_minor__ == 0 # if __clang_major__ == 5 && __clang_minor__ == 0
# define GLM_COMPILER GLM_COMPILER_CLANG33 # define GLM_COMPILER GLM_COMPILER_CLANG33
# elif __clang_major__ == 5 && __clang_minor__ == 1 # elif __clang_major__ == 5 && __clang_minor__ == 1

View File

@ -51,6 +51,10 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
## Release notes ## Release notes
#### [GLM 0.9.8.5](https://github.com/g-truc/glm/tree/0.9.8) - 2017-0X-XX
##### Fixes:
- Fixed Clang version detection from source #608
#### [GLM 0.9.8.4](https://github.com/g-truc/glm/releases/tag/0.9.8.4) - 2017-01-22 #### [GLM 0.9.8.4](https://github.com/g-truc/glm/releases/tag/0.9.8.4) - 2017-01-22
##### Fixes: ##### Fixes:
- Fixed GTC_packing test failing on GCC x86 due to denorms #212 #577 - Fixed GTC_packing test failing on GCC x86 due to denorms #212 #577