summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-03-19 22:22:26 +0000
committerJose Fonseca <jfonseca@vmware.com>2015-03-22 08:23:24 +0000
commite4d95982ee36097a86c4afec3f34924964978c21 (patch)
tree5c0ecd7414058d639bd95ca56504fbf31816744b /scons
parente518d97d7e8136384d5310235e2dd295170bfdcd (diff)
downloadexternal_mesa3d-e4d95982ee36097a86c4afec3f34924964978c21.zip
external_mesa3d-e4d95982ee36097a86c4afec3f34924964978c21.tar.gz
external_mesa3d-e4d95982ee36097a86c4afec3f34924964978c21.tar.bz2
scons: Silence MSVC C4351 warning.
It warns about change in MSVC behavior -- array initialisation used to be non-standard, but is standard now, assuming I understand correctly http://en.cppreference.com/w/cpp/language/zero_initialization . Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'scons')
-rwxr-xr-xscons/gallium.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 1564970..7050412 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -510,6 +510,7 @@ def generate(env):
'/wd4056', # overflow in floating-point constant arithmetic
'/wd4244', # conversion from 'type1' to 'type2', possible loss of data
'/wd4305', # truncation from 'type1' to 'type2'
+ '/wd4351', # new behavior: elements of array 'array' will be default initialized
'/wd4756', # overflow in constant arithmetic
'/wd4800', # forcing value to bool 'true' or 'false' (performance warning)
'/wd4996', # disable deprecated POSIX name warnings