| 1 | /////////////////////////////////////////////////////////////////////////////// |
| 2 | // Name: include/wx/afterstd.h |
| 3 | // Purpose: #include after STL headers |
| 4 | // Author: Vadim Zeitlin |
| 5 | // Modified by: |
| 6 | // Created: 07/07/03 |
| 7 | // RCS-ID: $Id$ |
| 8 | // Copyright: (c) 2003 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr> |
| 9 | // Licence: wxWindows licence |
| 10 | /////////////////////////////////////////////////////////////////////////////// |
| 11 | |
| 12 | /** |
| 13 | See the comments in beforestd.h. |
| 14 | */ |
| 15 | |
| 16 | #if defined(__WXMSW__) && defined(__MINGW32__) |
| 17 | #include "wx/msw/winundef.h" |
| 18 | #endif |
| 19 | // VC 7.x isn't as bad as VC6 and doesn't give these warnings |
| 20 | #if defined(__VISUALC__) && __VISUALC__ <= 1200 |
| 21 | // MSVC 5 does not have this |
| 22 | #if _MSC_VER > 1100 |
| 23 | // don't restore this one for VC6, it gives it in each try/catch which is a |
| 24 | // bit annoying to say the least |
| 25 | #if _MSC_VER >= 0x1300 |
| 26 | // unreachable code |
| 27 | #pragma warning(default:4702) |
| 28 | #endif // VC++ >= 7 |
| 29 | |
| 30 | #pragma warning(pop) |
| 31 | #else |
| 32 | // 'expression' : signed/unsigned mismatch |
| 33 | #pragma warning(default:4018) |
| 34 | |
| 35 | // 'conversion' : conversion from 'type1' to 'type2', |
| 36 | // possible loss of data |
| 37 | #pragma warning(default:4244) |
| 38 | |
| 39 | // C++ language change: to explicitly specialize class template |
| 40 | // 'identifier' use the following syntax |
| 41 | #pragma warning(default:4663) |
| 42 | #endif |
| 43 | #endif |
| 44 | |