From 263830f0004481cd4921f03f4242d7c80794b08d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 3 Dec 2010 17:05:21 +0000 Subject: Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into. --- build_files/cmake/macros.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'build_files') diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index e421b9600aa..2cac2658104 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -263,6 +263,7 @@ MACRO(REMOVE_STRICT_FLAGS) IF(CMAKE_COMPILER_IS_GNUCC) _REMOVE_STRICT_FLAGS("-Wstrict-prototypes") _REMOVE_STRICT_FLAGS("-Wunused-parameter") + _REMOVE_STRICT_FLAGS("-Wwrite-strings") _REMOVE_STRICT_FLAGS("-Wshadow") _REMOVE_STRICT_FLAGS("-Werror=[^ ]+") _REMOVE_STRICT_FLAGS("-Werror") -- cgit v1.2.3