From 2bebeef81bd723b0b09c748d5e3331e51b48db60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sun, 24 Feb 2008 17:58:18 +0900 Subject: [PATCH] Update some msvc compiler flags. --- winddk.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/winddk.py b/winddk.py index 1a5a0d1aa74..a54abf0e928 100644 --- a/winddk.py +++ b/winddk.py @@ -213,7 +213,7 @@ def generate(env): SCons.Tool.mslink.generate(env) # See also: - # - WINDDK's bin/makefile.new for more info. + # - WINDDK's bin/makefile.new i386mk.inc for more info. # - http://alter.org.ua/docs/nt_kernel/vc8_proj/ env.Append(CPPDEFINES = [ 'WIN32', @@ -232,10 +232,10 @@ def generate(env): ]) cflags = [ '/GF', # Enable String Pooling - #'/EHsc', # Enable C++ Exceptions + '/GX-', # Disable C++ Exceptions '/Zp8', # 8bytes struct member alignment #'/GS-', # No Buffer Security Check - #'/GR-', # Disable Run-Time Type Info + '/GR-', # Disable Run-Time Type Info '/Gz', # __stdcall Calling convention ] env.Append(CFLAGS = cflags) -- 2.30.2