Skip to content

Commit

Permalink
Disable 'overloaded virtual' warning globally when using clang
Browse files Browse the repository at this point in the history
- Commit 1145bd2 now causing 200+ 'overloaded virtual' warnings
  • Loading branch information
dakcarto committed Mar 18, 2013
1 parent 4d11584 commit 691322a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 691322a

Please sign in to comment.