From e7d63784e8e17b5c7778ac0c2f489b1deefc31b3 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 4 Nov 2000 07:36:36 +0000 Subject: [PATCH] added /GX- to get around an internal compiler error in MSVC. I don't get the error anymore but apparently others still do. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wxPython/setup.py b/wxPython/setup.py index 3fa72dd936..ffcdd04802 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -151,12 +151,12 @@ if os.name == 'nt': 'ctl3d32', 'odbc32', 'ole32', 'oleaut32', 'uuid', 'rpcrt4', 'advapi32', 'wsock32'] - cflags = None + cflags = ['/GX-'] # workaround for internal compiler error in MSVC lflags = None if not FINAL and HYBRID: - cflags = ['/Od', '/Z7'] - lflags = ['/DEBUG', ] ## '/PDB:NONE'] + cflags = cflags + ['/Od', '/Z7'] + lflags = ['/DEBUG', ] elif os.name == 'posix': @@ -199,7 +199,7 @@ if IN_CVS_TREE and newer('setup.py', 'src/__version__.py'): print 'Preparing CORE...' swig_force = force -swig_args = ['-c++', '-shadow', '-python', '-keyword', '-dnone', +swig_args = ['-c++', '-shadow', '-python', '-keyword', '-dascii', '-I./src', '-D'+WXPLAT] swig_files = [ 'wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i', -- 2.45.2