]> git.saurik.com Git - wxWidgets.git/commitdiff
added /GX- to get around an internal compiler error in MSVC. I don't
authorRobin Dunn <robin@alldunn.com>
Sat, 4 Nov 2000 07:36:36 +0000 (07:36 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 4 Nov 2000 07:36:36 +0000 (07:36 +0000)
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

index 3fa72dd9364cc45c7a65852ddbde250c681bf416..ffcdd04802c841b28d716ce59554986b605ab19f 100755 (executable)
@@ -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',