Skip to content

Commit 691322a

Browse files
committedMar 18, 2013
Disable 'overloaded virtual' warning globally when using clang
- Commit 1145bd2 now causing 200+ 'overloaded virtual' warnings
1 parent 4d11584 commit 691322a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ IF (PEDANTIC)
323323
# ADD_DEFINITIONS( -fstrict-aliasing -Wstrict-aliasing=1 -Wredundant-decls )
324324

325325
IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
326-
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-return-type-c-linkage")
326+
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-return-type-c-linkage -Wno-overloaded-virtual")
327327
ENDIF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
328328
ENDIF (MSVC)
329329

0 commit comments

Comments
 (0)
Please sign in to comment.