]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src/CMakeLists.txt: -Woverloaded-virtual is already included in -Wall on Clang 10469/head
authorWillem Jan Withagen <wjw@digiware.nl>
Thu, 28 Jul 2016 09:25:03 +0000 (11:25 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 2 Sep 2016 09:22:52 +0000 (11:22 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/CMakeLists.txt

index ffa417651d7b193640f30b02f054f6b8b648ac5e..a505b811f6d3b0e47c6c47d7277e5f60e0f71861 100644 (file)
@@ -113,9 +113,9 @@ else(no_yasm)
 endif(no_yasm)
 
 set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -ftemplate-depth-1024 -Wno-invalid-offsetof")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Woverloaded-virtual")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor")
 if(CMAKE_CXX_COMPILER_ID STREQUAL GNU)
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-null-sentinel")
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-null-sentinel -Woverloaded-virtual")
 endif(CMAKE_CXX_COMPILER_ID STREQUAL GNU)
 
 # require c++11