From: José Fonseca Date: Wed, 21 Oct 2009 16:03:52 +0000 (+0100) Subject: scons: Disable more MSVC pedantic security warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1acd891ed31b14ac6c81fd869a681c4b89c7d901;p=mesa.git scons: Disable more MSVC pedantic security warnings. --- diff --git a/scons/gallium.py b/scons/gallium.py index 587294af71d..34877b2f8b3 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']