X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8143581bdc72f81a5fb363b2e5dc58e4dd32786a..eaff0f0d3f7828c2acd9ebde4979acc0b3fa43b5:/include/wx/afterstd.h?ds=sidebyside 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