Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2012-09-18 18:17:10 +0400
committerAntony Riakiotakis <kalast@gmail.com>2012-09-18 18:17:10 +0400
commit2e3d044cd98b3b510a6baf0ab5cd1b0ee2f235e8 (patch)
tree9298038739454d2bd11f0ee8e55de49cc292181d /CMakeLists.txt
parenta53351d204309afb9be74a2075f14a74b2c31165 (diff)
-Wnonnull flag is not for C++. I think we all know it by now, time to
get rid of it.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 821e56e4006..da5dbea0e5a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1751,7 +1751,6 @@ if(CMAKE_COMPILER_IS_GNUCC)
ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_UNDEF -Wundef)
ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_UNINITIALIZED -Wuninitialized)
ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_INIT_SELF -Winit-self) # needs -Wuninitialized
- ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_NO_NULL -Wnonnull)
# # this causes too many warnings, disable
# ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_UNDEFINED -Wundef)