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-09-01 07:43:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-01 07:43:10 +0400
commit9d04a61f3652565cfe84d8e8b5192bd93177ce1d (patch)
treeb6754a0c2c412e1aeb5c2e9b9ab051a6dce6e9e8 /source/blender/blenlib/BLI_strict_flags.h
parent098cf9095675b46ea9860aab2014495b3a8a2af8 (diff)
use strict flags for lasso, boxpack, gsqueue and quadric's.
for lasso also use unsigned ints rather then shorts for the path length.
Diffstat (limited to 'source/blender/blenlib/BLI_strict_flags.h')
-rw-r--r--source/blender/blenlib/BLI_strict_flags.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_strict_flags.h b/source/blender/blenlib/BLI_strict_flags.h
index 0f41c95a035..5c5a6f45f0c 100644
--- a/source/blender/blenlib/BLI_strict_flags.h
+++ b/source/blender/blenlib/BLI_strict_flags.h
@@ -33,6 +33,9 @@
# pragma GCC diagnostic error "-Wsign-compare"
# pragma GCC diagnostic error "-Wconversion"
# endif
+# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 /* gcc4.8+ only (behavior changed to ignore globals)*/
+# pragma GCC diagnostic error "-Wshadow"
+# endif
#endif
#endif /* __BLI_STRICT_FLAGS_H__ */