mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Cherry pick #482 fix
This commit is contained in:
parent
bfb64e7657
commit
e42e6257e3
@ -53,6 +53,12 @@ if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}"
|
|||||||
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++98")
|
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++98")
|
||||||
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
|
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
|
||||||
set(CMAKE_CXX_FLAGS "-std=c++98")
|
set(CMAKE_CXX_FLAGS "-std=c++98")
|
||||||
|
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
|
||||||
|
# GLM is using GCC 64 bits integer extension
|
||||||
|
add_definitions(-Wno-long-long)
|
||||||
|
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||||
|
add_definitions(-Wno-c++11-long-long)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
|
|||||||
##### Fixes:
|
##### Fixes:
|
||||||
- Fixed STL for C++11 detection on ICC #510
|
- Fixed STL for C++11 detection on ICC #510
|
||||||
- Fixed missing vec1 overload to length2 and distance2 functions #431
|
- Fixed missing vec1 overload to length2 and distance2 functions #431
|
||||||
|
- Fixed long long warnings when using C++98 on GCC and Clang #482
|
||||||
|
|
||||||
#### [GLM 0.9.7.5](https://github.com/g-truc/glm/releases/tag/0.9.7.5) - 2016-05-24
|
#### [GLM 0.9.7.5](https://github.com/g-truc/glm/releases/tag/0.9.7.5) - 2016-05-24
|
||||||
##### Improvements:
|
##### Improvements:
|
||||||
@ -69,6 +70,8 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
|
|||||||
- Fixed Visual C++ SIMD instruction set automatic detection in 64 bits
|
- Fixed Visual C++ SIMD instruction set automatic detection in 64 bits
|
||||||
- Fixed to_string when used with GLM_FORCE_INLINE #506
|
- Fixed to_string when used with GLM_FORCE_INLINE #506
|
||||||
- Fixed GLM_FORCE_INLINE with binary vec4 operators
|
- Fixed GLM_FORCE_INLINE with binary vec4 operators
|
||||||
|
- Fixed GTX_extended_min_max filename typo #386
|
||||||
|
- Fixed intersectRayTriangle to not do any unintentional backface culling
|
||||||
|
|
||||||
#### [GLM 0.9.7.4](https://github.com/g-truc/glm/releases/tag/0.9.7.4) - 2016-03-19
|
#### [GLM 0.9.7.4](https://github.com/g-truc/glm/releases/tag/0.9.7.4) - 2016-03-19
|
||||||
##### Fixes:
|
##### Fixes:
|
||||||
|
Loading…
Reference in New Issue
Block a user