From 52d00a9ec0f2128398f1b372c342ee8bf4ae6c4c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 27 Apr 2014 22:38:41 +0000 Subject: [PATCH] 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 --- include/wx/msw/seh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/msw/seh.h b/include/wx/msw/seh.h index a331570d75..3f7c93e520 100644 --- a/include/wx/msw/seh.h +++ b/include/wx/msw/seh.h @@ -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