X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8143581bdc72f81a5fb363b2e5dc58e4dd32786a..05c3f0fc73d9124061c08e3d707b4e3d6bab4ff4:/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