Silence some warnings about deprecated declarations

- auto_ptr is one example of this

llvm-svn: 179712
This commit is contained in:
Daniel Malea 2013-04-17 19:27:31 +00:00
parent 9ff5633f85
commit bbd0581071
1 changed files with 7 additions and 0 deletions

View File

@ -93,6 +93,13 @@ else()
set(CMAKE_CXX_FLAGS "-std=c++11") set(CMAKE_CXX_FLAGS "-std=c++11")
endif() 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 # Disable MSVC warnings
if( MSVC ) if( MSVC )
add_lldb_definitions( add_lldb_definitions(