move check for compilers not supporting SEH to wx/chkconf.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-02-02 17:46:20 +00:00
parent 3387ea2966
commit 3e3a3e177c
2 changed files with 14 additions and 22 deletions

View File

@@ -36,13 +36,20 @@
#endif
/*
* GCC does not have SEH (__try/__catch)
* All of the settings below require SEH support (__try/__catch) and can't work
* without it.
*/
#if defined(__GNUG__)
#if !defined(_MSC_VER) && \
(!defined(__BORLANDC__) || __BORLANDC__ < 0x0550)
#undef wxUSE_ON_FATAL_EXCEPTION
#define wxUSE_ON_FATAL_EXCEPTION 0
#endif
#undef wxUSE_CRASHREPORT
#define wxUSE_CRASHREPORT 0
#undef wxUSE_STACKWALKER
#define wxUSE_STACKWALKER 0
#endif // compiler doesn't support SEH
/*
* wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior