X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8143581bdc72f81a5fb363b2e5dc58e4dd32786a..f6840be66eb772c08f0cbb43de677509d5d132bb:/include/wx/afterstd.h diff --git a/include/wx/afterstd.h b/include/wx/afterstd.h index ecb2c3c88e..b99a08402c 100644 --- a/include/wx/afterstd.h +++ b/include/wx/afterstd.h @@ -13,13 +13,20 @@ See the comments in beforestd.h. */ -#if defined(__WXMSW__) && defined(__MINGW32__) +#if defined(__WXMSW__) #include "wx/msw/winundef.h" #endif // VC 7.x isn't as bad as VC6 and doesn't give these warnings #if defined(__VISUALC__) && __VISUALC__ <= 1200 // MSVC 5 does not have this #if _MSC_VER > 1100 + // don't restore this one for VC6, it gives it in each try/catch which is a + // bit annoying to say the least + #if _MSC_VER >= 0x1300 + // unreachable code + #pragma warning(default:4702) + #endif // VC++ >= 7 + #pragma warning(pop) #else // 'expression' : signed/unsigned mismatch