From f41254cb58e8a8cd10fc66ea60dc92bb4bcb207a Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Fri, 19 Feb 2016 18:22:14 -0500 Subject: [PATCH] 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 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dfe2976..1fa311db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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_CXX_FLAGS "-std=c++98") endif() + + add_definitions(-Wno-c++11-long-long) + # Literally hundreds of occurrences of this warning endif() option(GLM_TEST_ENABLE_MS_EXTENSIONS "Enable MS extensions" OFF)