]> git.saurik.com Git - wxWidgets.git/blame - include/wx/afterstd.h
Initial commit for Laurent Humbertclaude's Windows slave.
[wxWidgets.git] / include / wx / afterstd.h
CommitLineData
df5168c4
MB
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>
65571936 9// Licence: wxWindows licence
df5168c4
MB
10///////////////////////////////////////////////////////////////////////////////
11
12/**
13 See the comments in beforestd.h.
14 */
15
7c118064 16#if defined(__WXMSW__)
335991af
MB
17 #include "wx/msw/winundef.h"
18#endif
ffbc1990
VZ
19
20// undo what we did in wx/beforestd.h
21#if defined(__VISUALC__) && __VISUALC__ <= 1201
e5898961
MB
22 // MSVC 5 does not have this
23 #if _MSC_VER > 1100
00ba414f
VZ
24 // don't restore this one for VC6, it gives it in each try/catch which is a
25 // bit annoying to say the least
26 #if _MSC_VER >= 0x1300
27 // unreachable code
28 #pragma warning(default:4702)
29 #endif // VC++ >= 7
30
e5898961
MB
31 #pragma warning(pop)
32 #else
33 // 'expression' : signed/unsigned mismatch
34 #pragma warning(default:4018)
35
0545fc01
VZ
36 // 'identifier' : unreferenced formal parameter
37 #pragma warning(default:4100)
38
e5898961
MB
39 // 'conversion' : conversion from 'type1' to 'type2',
40 // possible loss of data
41 #pragma warning(default:4244)
42
43 // C++ language change: to explicitly specialize class template
44 // 'identifier' use the following syntax
45 #pragma warning(default:4663)
46 #endif
df5168c4
MB
47#endif
48
d6f513f8
VS
49// see beforestd.h for explanation
50#if defined(HAVE_VISIBILITY) && defined(HAVE_BROKEN_LIBSTDCXX_VISIBILITY)
51 #pragma GCC visibility pop
52#endif