Skip to content
Permalink
Browse files
Disable 'overloaded virtual' warning globally when using clang
- Commit 1145bd2 now causing 200+ 'overloaded virtual' warnings
  • Loading branch information
dakcarto committed Mar 18, 2013
1 parent 4d11584 commit 691322a8eb01e11fd7d18b421cd1f0dc35df42df
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -323,7 +323,7 @@ IF (PEDANTIC)
# ADD_DEFINITIONS( -fstrict-aliasing -Wstrict-aliasing=1 -Wredundant-decls )

IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-return-type-c-linkage")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-return-type-c-linkage -Wno-overloaded-virtual")
ENDIF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
ENDIF (MSVC)

0 comments on commit 691322a

Please sign in to comment.