Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lldb/cmake/modules/LLDBConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ include_directories("${CMAKE_CURRENT_BINARY_DIR}/../clang/include")

if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
# Disable GCC warnings
append("-Wno-deprecated-declarations" CMAKE_CXX_FLAGS)
append("-Wno-unknown-pragmas" CMAKE_CXX_FLAGS)
append("-Wno-strict-aliasing" CMAKE_CXX_FLAGS)

Expand All @@ -198,7 +197,6 @@ endif()

# Disable Clang warnings
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
append("-Wno-deprecated-register" CMAKE_CXX_FLAGS)
append("-Wno-vla-extension" CMAKE_CXX_FLAGS)
endif()

Expand Down
4 changes: 3 additions & 1 deletion lldb/source/Host/macosx/objcxx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ add_lldb_library(lldbHostMacOSXObjCXX NO_PLUGIN_DEPENDENCIES
TargetParser
)

target_compile_options(lldbHostMacOSXObjCXX PRIVATE -fno-objc-exceptions)
target_compile_options(lldbHostMacOSXObjCXX PRIVATE
-fno-objc-exceptions
-Wno-deprecated-declarations)