mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 14:54:35 +00:00
Yes, gcc, I am quite aware of the fact that long long is a C++11 extension
- Now please show me what I should actually worry about
This commit is contained in:
parent
65e88d9f9d
commit
f41254cb58
@ -54,6 +54,9 @@ if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}"
|
|||||||
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")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_definitions(-Wno-c++11-long-long)
|
||||||
|
# Literally hundreds of occurrences of this warning
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(GLM_TEST_ENABLE_MS_EXTENSIONS "Enable MS extensions" OFF)
|
option(GLM_TEST_ENABLE_MS_EXTENSIONS "Enable MS extensions" OFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user