Suppress warnings about using _set_se_translator() for MSVC 12 too.

We did it up to MSVC 11 but this still seems to work just fine without /EHa
with MSVC 12 too, so relax the version check to allow it to pass.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-04-27 22:38:41 +00:00
parent 58d654b57c
commit 52d00a9ec0

View File

@@ -54,11 +54,11 @@
// as division by 0 or access violation) to C++ pseudo-exceptions
extern void wxSETranslator(unsigned int code, EXCEPTION_POINTERS *ep);
// up to VC 11 this warning ("calling _set_se_translator() requires /EHa")
// up to VC 12 this warning ("calling _set_se_translator() requires /EHa")
// is harmless and it's easier to suppress it than use different makefiles
// for VC5 and 6 (which don't support /EHa at all) and VC7+ (which does
// accept it but it seems to change nothing for it anyhow)
#if __VISUALC__ < 1800
#if __VISUALC__ < 1900
#pragma warning(disable: 4535)
#endif