From: Vadim Zeitlin Date: Fri, 28 Dec 2012 16:03:24 +0000 (+0000) Subject: Suppress warning about _set_se_translator() for VC++ 10 and 11 too. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5d79e64a00b88fda5e9e2854b4c2925fba72f902 Suppress warning about _set_se_translator() for VC++ 10 and 11 too. Previously we disabled this warning for VC versions up to 9 but the warning still seems to be as harmless as before for the newer versions too. Closes #13607. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/seh.h b/include/wx/msw/seh.h index 7fcfb7a719..b2919ac288 100644 --- a/include/wx/msw/seh.h +++ b/include/wx/msw/seh.h @@ -55,11 +55,11 @@ // as division by 0 or access violation) to C++ pseudo-exceptions extern void wxSETranslator(unsigned int code, EXCEPTION_POINTERS *ep); - // up to VC 9 this warning ("calling _set_se_translator() requires /EHa") + // up to VC 11 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 + // 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__ < 1600 + #if __VISUALC__ < 1800 #pragma warning(disable: 4535) #endif