summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-03-24 19:50:48 +0000
committerJose Fonseca <jfonseca@vmware.com>2015-03-25 10:42:45 +0000
commit28c54400af1ee04306342f67e56dc9e37933c538 (patch)
treeef5f68ea7b683be5980a693e3f498e898e523826 /scons/gallium.py
parentcb88edbd4e9cb198013129a360cb3d4163ac3837 (diff)
downloadmesa-28c54400af1ee04306342f67e56dc9e37933c538.tar.gz
scons: Disable MSVC warnings about inconsistent function annotation.
Somehow, merely including any of the *intrin.h headers causes dozens of this warnings (when compiling pretty much every source file). MSVC does not always complain the same -- so it's possible we're doing something weird --, but silence these warnings in the meanwhile. Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-xscons/gallium.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index efc65e7181b..51b84d7652b 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -549,6 +549,7 @@ def generate(env):
env.Append(CCFLAGS = [
'/analyze',
#'/analyze:log', '${TARGET.base}.xml',
+ '/wd28251', # Inconsistent annotation for function
])
if env['clang']:
# scan-build will produce more comprehensive output