]> git.mxchange.org Git - flightgear.git/commitdiff
Silence more Clang (Xcode 7) warnings
authorJames Turner <zakalawe@mac.com>
Mon, 28 Sep 2015 01:40:34 +0000 (20:40 -0500)
committerJames Turner <zakalawe@mac.com>
Mon, 28 Sep 2015 01:40:34 +0000 (20:40 -0500)
CMakeLists.txt

index c88ac3b277ed90f17c811c70c546339e51dc2b4f..950a10e45f265bdaf305529dc56776558e834754 100644 (file)
@@ -343,11 +343,15 @@ if(CMAKE_COMPILER_IS_GNUCXX)
 endif(CMAKE_COMPILER_IS_GNUCXX)
 
 if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
-   set (WARNING_FLAGS_CXX "-Wall -Wno-overloaded-virtual -Wno-redeclared-class-member")
+   set(WARNING_FLAGS_CXX "-Wall -Wno-overloaded-virtual \
+     -Wno-redeclared-class-member \
+     -Wno-inconsistent-missing-override \
+     -Wno-unused-local-typedef")
+
    set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
    set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++11")
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++")
-   set (WARNING_FLAGS_C "-Wall")
+   set(WARNING_FLAGS_C "-Wall")
 endif()
 
 if(WIN32)