Mesa (master): scons: Disable more MSVC pedantic security warnings.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Oct 22 18:12:28 UTC 2009


Module: Mesa
Branch: master
Commit: 1acd891ed31b14ac6c81fd869a681c4b89c7d901
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1acd891ed31b14ac6c81fd869a681c4b89c7d901

Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Oct 21 17:03:52 2009 +0100

scons: Disable more MSVC pedantic security warnings.

---

 scons/gallium.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index 587294a..34877b2 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -263,7 +263,10 @@ def generate(env):
         if msvc and env['toolchain'] != 'winddk':
             cppdefines += [
                 'VC_EXTRALEAN',
+                '_CRT_SECURE_NO_WARNINGS',
                 '_CRT_SECURE_NO_DEPRECATE',
+                '_SCL_SECURE_NO_WARNINGS',
+                '_SCL_SECURE_NO_DEPRECATE',
             ]
         if debug:
             cppdefines += ['_DEBUG']




More information about the mesa-commit mailing list