afterstd.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/afterstd.h
  3. // Purpose: #include after STL headers
  4. // Author: Vadim Zeitlin
  5. // Modified by:
  6. // Created: 07/07/03
  7. // Copyright: (c) 2003 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
  8. // Licence: wxWindows licence
  9. ///////////////////////////////////////////////////////////////////////////////
  10. /**
  11. See the comments in beforestd.h.
  12. */
  13. #if defined(__WINDOWS__)
  14. #include "wx/msw/winundef.h"
  15. #endif
  16. // undo what we did in wx/beforestd.h
  17. #if defined(__VISUALC__) && __VISUALC__ <= 1201
  18. // MSVC 5 does not have this
  19. #if _MSC_VER > 1100
  20. #pragma warning(pop)
  21. #else
  22. // 'expression' : signed/unsigned mismatch
  23. #pragma warning(default:4018)
  24. // 'identifier' : unreferenced formal parameter
  25. #pragma warning(default:4100)
  26. // 'conversion' : conversion from 'type1' to 'type2',
  27. // possible loss of data
  28. #pragma warning(default:4244)
  29. // C++ language change: to explicitly specialize class template
  30. // 'identifier' use the following syntax
  31. #pragma warning(default:4663)
  32. #endif
  33. #endif
  34. // see beforestd.h for explanation
  35. #if defined(HAVE_VISIBILITY) && defined(HAVE_BROKEN_LIBSTDCXX_VISIBILITY)
  36. #pragma GCC visibility pop
  37. #endif