From ad07d019d6935321f22af5d0213024cd3b811c29 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 8 Feb 2002 22:23:55 +0000 Subject: [PATCH] Added notes for what to do if VC has an internal compiler error. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/BUILD.win32.txt | 5 +++++ wxPython/setup.py | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/wxPython/BUILD.win32.txt b/wxPython/BUILD.win32.txt index 45d09596be..2fe8abf75a 100644 --- a/wxPython/BUILD.win32.txt +++ b/wxPython/BUILD.win32.txt @@ -242,6 +242,11 @@ C. To build and install wxPython you simply need to execute the HYBRID: python setup.py HYBRID=1 install + NOTE: If you get an internal compiler error from MSVC then you + need to edit setup.py and add in the /GX- flag that is normally + commented out. Just search for "GX-" and uncomment it so it is put + into the cflags list. + D. At this point you should be able to change into the wxPython\demo directory and run the demo: diff --git a/wxPython/setup.py b/wxPython/setup.py index 854c34a81f..28ed092872 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -218,7 +218,9 @@ if os.name == 'nt': 'advapi32', 'wsock32'] - cflags = [] #['/GX-'] # workaround for internal compiler error in MSVC on some machines + cflags = [ + # '/GX-' # workaround for internal compiler error in MSVC on some machines + ] lflags = None