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
This commit is contained in:
@@ -55,11 +55,11 @@
|
|||||||
// as division by 0 or access violation) to C++ pseudo-exceptions
|
// as division by 0 or access violation) to C++ pseudo-exceptions
|
||||||
extern void wxSETranslator(unsigned int code, EXCEPTION_POINTERS *ep);
|
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
|
// 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)
|
// accept it but it seems to change nothing for it anyhow)
|
||||||
#if __VISUALC__ < 1600
|
#if __VISUALC__ < 1800
|
||||||
#pragma warning(disable: 4535)
|
#pragma warning(disable: 4535)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user