disable warning about _set_se_translator() requiring /EHa for VC9 too (it was disabled for up to VC8)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-06-06 23:27:37 +00:00
parent 73df4a1e3c
commit 5470512797
2 changed files with 2 additions and 24 deletions

View File

@@ -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 7.1 this warning ("calling _set_se_translator() requires /EHa")
// up to VC 9 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__ <= 1310
#if __VISUALC__ < 1600
#pragma warning(disable: 4535)
#endif