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>2013-07-04 02:57:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-04 02:57:00 +0400
commita0cfa3e42095e96af771f503335b0bf05bb26d63 (patch)
tree0356b3691615dfef6de1f8fd07ffc3b6b84b0204 /source/blender/makesrna/intern/CMakeLists.txt
parent374383997cc2dc36819eb0ec125d6a2d06809f71 (diff)
fix [#35984] no way to know if a datablock is in editmode
the report explains the issue in detail, but basically you couldn't know if a mesh was in editmode without checking all the objects that use it. add `is_editmode` readonly property for all datatypes which support editmode. also make rna fail to build on implicit function declarations.
Diffstat (limited to 'source/blender/makesrna/intern/CMakeLists.txt')
-rw-r--r--source/blender/makesrna/intern/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt
index 11a4dcfab8a..af14e959c11 100644
--- a/source/blender/makesrna/intern/CMakeLists.txt
+++ b/source/blender/makesrna/intern/CMakeLists.txt
@@ -26,6 +26,11 @@
# Generated code has some unused vars we can ignore.
remove_strict_flags()
+if(CMAKE_COMPILER_IS_GNUCC)
+ # add here so we fail early.
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=implicit-function-declaration")
+endif()
+
# message(STATUS "Configuring makesrna")
# files rna_access.c rna_define.c makesrna.c intentionally excluded.