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:
Jesse Talavera-Greenberg 2016-02-19 18:22:14 -05:00
parent 65e88d9f9d
commit f41254cb58

View File

@ -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)