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:
authorCampbell Barton <ideasman42@gmail.com>2016-01-17 05:18:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-01-17 05:25:47 +0300
commitdad1cdad1352f486b73f0e4a657df656a5734766 (patch)
tree0366abb626c4414441a2d9dad19961dc8a81cdf2 /CMakeLists.txt
parent9145c6976cc1e9347b6329809ca9f9f9e3f3d156 (diff)
Revert "Make 'incompatible pointer type' gcc warning an error by default."
This reverts commit b5bd39b5182590fd4d5ddb24d7b7bdbe714d57bf. This is problematic because it means minor differences in system headers can cause errors (glew in this case errored for me both with system and Blender's bundled version). Developers can enable -Werror=* locally for warnings that aren't reliable across different systems.
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 949f04dc15d..1a2aa8140c2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2644,7 +2644,6 @@ if(CMAKE_COMPILER_IS_GNUCC)
ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION -Werror=implicit-function-declaration)
ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_ERROR_RETURN_TYPE -Werror=return-type)
ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_ERROR_VLA -Werror=vla)
- ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_ERROR_INCOMPATIBLE_POINTER_TYPE -Werror=incompatible-pointer-types)
# system headers sometimes do this, disable for now, was: -Werror=strict-prototypes
ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_STRICT_PROTOTYPES -Wstrict-prototypes)
ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_MISSING_PROTOTYPES -Wmissing-prototypes)