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:
@@ -56,6 +56,12 @@
|
|||||||
# define wxUSE_EXCEPTIONS 0
|
# define wxUSE_EXCEPTIONS 0
|
||||||
#endif /* wxNO_EXCEPTIONS */
|
#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
|
tests for non GUI features
|
||||||
|
Reference in New Issue
Block a user