Revert "Enable -Wdeprecated in the cmake build now that LLVM (& Clang, Polly, and...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 1 Oct 2015 00:44:21 +0000 (00:44 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 1 Oct 2015 00:44:21 +0000 (00:44 +0000)
This reverts commit r248963.

Seems there's some standard libraries (and libcxxabi implementations)
that aren't -Wdeprecated clean... hrm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248972 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/HandleLLVMOptions.cmake

index 046187aa59d39460939f77b2b59dccaa3b663dea..e0bea6470fb22f56eec2a17881adf343e29187ca 100644 (file)
@@ -364,7 +364,7 @@ if( MSVC )
 
 elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
   if (LLVM_ENABLE_WARNINGS)
-    append("-Wall -W -Wno-unused-parameter -Wwrite-strings -Wdeprecated" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
+    append("-Wall -W -Wno-unused-parameter -Wwrite-strings" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
     append("-Wcast-qual" CMAKE_CXX_FLAGS)
 
     # Turn off missing field initializer warnings for gcc to avoid noise from