forked from OSchip/llvm-project
Silence some warnings about deprecated declarations
- auto_ptr is one example of this llvm-svn: 179712
This commit is contained in:
parent
9ff5633f85
commit
bbd0581071
|
@ -93,6 +93,13 @@ else()
|
|||
set(CMAKE_CXX_FLAGS "-std=c++11")
|
||||
endif()
|
||||
|
||||
# Disable Clang warnings
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
add_lldb_definitions(
|
||||
-Wno-deprecated-declarations # Suppress "deprecated auto_ptr" warnings
|
||||
)
|
||||
endif()
|
||||
|
||||
# Disable MSVC warnings
|
||||
if( MSVC )
|
||||
add_lldb_definitions(
|
||||
|
|
Loading…
Reference in New Issue