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
This commit is contained in:
Robin Dunn
2000-11-04 07:36:36 +00:00
parent 3d49ce4485
commit e7d63784e8

View File

@@ -151,12 +151,12 @@ if os.name == 'nt':
'ctl3d32', 'odbc32', 'ole32', 'oleaut32', 'uuid', 'rpcrt4', 'ctl3d32', 'odbc32', 'ole32', 'oleaut32', 'uuid', 'rpcrt4',
'advapi32', 'wsock32'] 'advapi32', 'wsock32']
cflags = None cflags = ['/GX-'] # workaround for internal compiler error in MSVC
lflags = None lflags = None
if not FINAL and HYBRID: if not FINAL and HYBRID:
cflags = ['/Od', '/Z7'] cflags = cflags + ['/Od', '/Z7']
lflags = ['/DEBUG', ] ## '/PDB:NONE'] lflags = ['/DEBUG', ]
elif os.name == 'posix': elif os.name == 'posix':
@@ -199,7 +199,7 @@ if IN_CVS_TREE and newer('setup.py', 'src/__version__.py'):
print 'Preparing CORE...' print 'Preparing CORE...'
swig_force = force swig_force = force
swig_args = ['-c++', '-shadow', '-python', '-keyword', '-dnone', swig_args = ['-c++', '-shadow', '-python', '-keyword', '-dascii',
'-I./src', '-D'+WXPLAT] '-I./src', '-D'+WXPLAT]
swig_files = [ 'wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i', swig_files = [ 'wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i',