r221914 - Remove -Wcast-qual as it's inherited from llvm since r221913.
Roman Divacky
rdivacky at freebsd.org
Thu Nov 13 11:47:31 PST 2014
Author: rdivacky
Date: Thu Nov 13 13:47:31 2014
New Revision: 221914
URL: http://llvm.org/viewvc/llvm-project?rev=221914&view=rev
Log:
Remove -Wcast-qual as it's inherited from llvm since r221913.
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=221914&r1=221913&r2=221914&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Thu Nov 13 13:47:31 2014
@@ -240,7 +240,7 @@ configure_file(
# Add appropriate flags for GCC
if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -fno-strict-aliasing")
# Enable -pedantic for Clang even if it's not enabled for LLVM.
if (NOT LLVM_ENABLE_PEDANTIC)
More information about the cfe-commits
mailing list