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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2015-11-22 19:12:54 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2015-11-23 00:31:22 +0300
commit4ff0126e890cebe16b4eec5c1b2bc507346b4f24 (patch)
tree9d88a5f275928c5d9e393a9fdfe6dccbdcb7ce83 /source/blender/blenkernel/intern/subsurf_ccg.c
parentdb1f0e36163037c94857626be8ca20dd9ae5b168 (diff)
C99 is now the C standard for all our C code.
The main new feature is mixed variable declarations and code, which can help reduce uninitialized variables or accidental variable reuse. Due to incomplete C99 support in VS 2013, variable length arrays are not supported, BLI_array_alloca must still be used. The header <tgmath.h> is also not supported. Differential Revision: https://developer.blender.org/D1631
Diffstat (limited to 'source/blender/blenkernel/intern/subsurf_ccg.c')
-rw-r--r--source/blender/blenkernel/intern/subsurf_ccg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c
index b7742d82991..57e37c0190d 100644
--- a/source/blender/blenkernel/intern/subsurf_ccg.c
+++ b/source/blender/blenkernel/intern/subsurf_ccg.c
@@ -30,6 +30,9 @@
*/
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+# ifdef __GNUC__
+# pragma GCC diagnostic ignored "-Wvla"
+# endif
# define USE_DYNSIZE
#endif