disable wxUSE_EXCEPTIONS when compiling with VC++ but without /GX (a.k.a. /EHsc) switch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-03-10 19:06:26 +00:00
parent 9205cb3f26
commit 4652511f90

View File

@ -56,6 +56,12 @@
# define wxUSE_EXCEPTIONS 0
#endif /* wxNO_EXCEPTIONS */
/* we also must disable exceptions if compiler doesn't support them */
#if defined(_MSC_VER) && !defined(_CPPUNWIND)
# undef wxUSE_EXCEPTIONS
# define wxUSE_EXCEPTIONS 0
#endif /* VC++ without exceptions support */
/*
tests for non GUI features