X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8143581bdc72f81a5fb363b2e5dc58e4dd32786a..cf9d4c676605b0829ed8457e63e6ce4fd3196428:/include/wx/afterstd.h diff --git a/include/wx/afterstd.h b/include/wx/afterstd.h index ecb2c3c88e..e4967e0a78 100644 --- a/include/wx/afterstd.h +++ b/include/wx/afterstd.h @@ -20,6 +20,13 @@ #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