blender/intern/cycles
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
..
app Cycles standalone: add support for reading UV coordinates to the XML scene reader 2015-06-27 12:05:05 +02:00
blender Cycles: Expose "Max Bounces" for the world light. 2015-07-12 17:56:54 +02:00
bvh Cycles: Avoid having duplication of BVH arrays during build 2015-06-28 18:15:25 +02:00
cmake Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00
device Cycles: Merging of patch from OSX went wrong in the previous change 2015-07-15 15:12:19 +02:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel Fix T45447: Area light importance sampling improvement 2015-07-16 08:33:13 +02:00
render Fix T45390: Cycles experimental displacement method ignores scaling when render 2015-07-13 15:24:56 +02:00
subd Cycles: Code cleanup, spaces around keywords 2015-03-28 00:15:15 +05:00
util Cycles: Add assert to an array at() function to be sure we don't have bad memory access 2015-06-28 18:15:25 +02:00
CMakeLists.txt CMake: Add option to enable -Werror cflag in some areas 2015-07-18 10:49:51 +02:00
SConscript Cycles: Restructure kernel files organization 2015-05-22 16:31:34 +05:00