diff options
-rw-r--r-- | libcxx/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt index 7ac0f451ac6..b56060082f8 100644 --- a/libcxx/CMakeLists.txt +++ b/libcxx/CMakeLists.txt @@ -561,7 +561,11 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") -Wno-reserved-id-macro -Wno-gnu-include-next -Wno-gcc-compat # For ignoring "'diagnose_if' is a clang extension" warnings - -Wno-zero-as-null-pointer-constant # FIXME: Remove this and fix all occurances. + -Wno-zero-as-null-pointer-constant # FIXME: Remove this and fix all occurrences. + -Wno-deprecated-dynamic-exception-spec # For auto_ptr + -Wno-sign-conversion + -Wno-old-style-cast + -Wno-deprecated # FIXME: Remove this and fix all occurrences. ) endif() elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") |