From 1acd891ed31b14ac6c81fd869a681c4b89c7d901 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 21 Oct 2009 17:03:52 +0100 Subject: scons: Disable more MSVC pedantic security warnings. --- scons/gallium.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scons/gallium.py') diff --git a/scons/gallium.py b/scons/gallium.py index 587294af71..34877b2f8b 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'] -- cgit v1.2.3