Go to file
Sergey Sharybin 2199a3e38b CMake: Add option to enable -Werror cflag in some areas
It is rather annoying attitude nowadays to use const qualifier all over the
place, including using it for multi-dimensional arrays. This isn't really
supported in GCC prior to version 5.0 because it considers such an arrays
to be a "pointer to a const pointer" which gives implicit casting errors.

It's not possible to disable this particular type of warnings treated as
errors in any GCC version prior to 5.0 as well, meaning currently usage of
-Werror globally in Blender code is not possible at all.

This commit makes it possible to use -Werror in areas which are complaint
with older GCC versions. New advanced CMake options are:

- WITH_COMPOSITOR_WERROR
- WITH_LIBMV_WERROR
- WITH_CYCLES_WERROR
2015-07-18 10:49:51 +02:00
build_files Add a skeleton of C API for Eigen3. 2015-07-13 18:05:38 +02:00
doc Docs; Py API gotcha's section 2015-07-12 20:50:44 +10:00
extern CMake: Add option to enable -Werror cflag in some areas 2015-07-18 10:49:51 +02:00
intern CMake: Add option to enable -Werror cflag in some areas 2015-07-18 10:49:51 +02:00
release Fix for nodeitems module using the NODE_MT_add menu types from bl_ui. 2015-07-17 11:59:24 +02:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source CMake: Add option to enable -Werror cflag in some areas 2015-07-18 10:49:51 +02:00
tests BLI_math 'compare' cleanup & enhancements. 2015-07-10 15:02:43 +02:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Revert "ignore conflict files" 2014-08-08 06:00:49 +10:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt CMake: Add option to enable -Werror cflag in some areas 2015-07-18 10:49:51 +02:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile CMake: use functions instead of macros 2015-06-17 09:38:24 +10:00
SConstruct Fix T44968: Python executable crashes due to missing .DLL 2015-06-10 13:41:06 +05:00