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:
@@ -36,13 +36,20 @@
|
|||||||
#endif
|
#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(_MSC_VER) && \
|
||||||
#if defined(__GNUG__)
|
(!defined(__BORLANDC__) || __BORLANDC__ < 0x0550)
|
||||||
#undef wxUSE_ON_FATAL_EXCEPTION
|
#undef wxUSE_ON_FATAL_EXCEPTION
|
||||||
#define wxUSE_ON_FATAL_EXCEPTION 0
|
#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
|
* wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior
|
||||||
|
@@ -117,7 +117,7 @@
|
|||||||
// This setting is for Win32 only and can only be enabled if your compiler
|
// This setting is for Win32 only and can only be enabled if your compiler
|
||||||
// supports Win32 structured exception handling (currently only VC++ does)
|
// supports Win32 structured exception handling (currently only VC++ does)
|
||||||
//
|
//
|
||||||
// Default is 1
|
// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
|
||||||
//
|
//
|
||||||
// Recommended setting: 1 if your compiler supports it.
|
// Recommended setting: 1 if your compiler supports it.
|
||||||
#define wxUSE_ON_FATAL_EXCEPTION 1
|
#define wxUSE_ON_FATAL_EXCEPTION 1
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
// machine-readable minidumop created by wxCrashReport::Generate()) stack back
|
// machine-readable minidumop created by wxCrashReport::Generate()) stack back
|
||||||
// trace when your program crashes using wxStackWalker
|
// trace when your program crashes using wxStackWalker
|
||||||
//
|
//
|
||||||
// Default is 1 if supported by the compiler.
|
// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
|
||||||
//
|
//
|
||||||
// Recommended setting: 1, set to 0 if your programs never crash
|
// Recommended setting: 1, set to 0 if your programs never crash
|
||||||
#define wxUSE_STACKWALKER 1
|
#define wxUSE_STACKWALKER 1
|
||||||
@@ -1122,26 +1122,11 @@
|
|||||||
// Set this to 1 to be able to use wxCrashReport::Generate() to create mini
|
// Set this to 1 to be able to use wxCrashReport::Generate() to create mini
|
||||||
// dumps of your program when it crashes (or at any other moment)
|
// dumps of your program when it crashes (or at any other moment)
|
||||||
//
|
//
|
||||||
// Default is 1 if supported by the compiler.
|
// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
|
||||||
//
|
//
|
||||||
// Recommended setting: 1, set to 0 if your programs never crash
|
// Recommended setting: 1, set to 0 if your programs never crash
|
||||||
#define wxUSE_CRASHREPORT 1
|
#define wxUSE_CRASHREPORT 1
|
||||||
|
|
||||||
|
|
||||||
// all of the settings below require SEH support (__try/__catch) and can't work
|
|
||||||
// without it
|
|
||||||
#if !defined(_MSC_VER) && \
|
|
||||||
(!defined(__BORLANDC__) || __BORLANDC__ < 0x0550)
|
|
||||||
#undef wxUSE_ON_FATAL_EXCEPTION
|
|
||||||
#define wxUSE_ON_FATAL_EXCEPTION 0
|
|
||||||
|
|
||||||
#undef wxUSE_CRASHREPORT
|
|
||||||
#define wxUSE_CRASHREPORT 0
|
|
||||||
|
|
||||||
#undef wxUSE_STACKWALKER
|
|
||||||
#define wxUSE_STACKWALKER 0
|
|
||||||
#endif // compiler doesn't support SEH
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// obsolete settings
|
// obsolete settings
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user