Module: Mesa Branch: master Commit: 1acd891ed31b14ac6c81fd869a681c4b89c7d901 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1acd891ed31b14ac6c81fd869a681c4b89c7d901
Author: José Fonseca <jfons...@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'] _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit