Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
971 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1997
  6. //
  7. // File: mscver.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _MSCVER_H_
  11. #define _MSCVER_H_
  12. #if _MSC_VER >= 1100
  13. #define USE_STD_NAMESPACE using namespace std
  14. #else
  15. #define USE_STD_NAMESPACE
  16. #endif
  17. // disable "'this' : used in base member initializer list"
  18. #pragma warning ( disable : 4355 )
  19. // disable "string too long - truncated to 255 characters in the debug information"
  20. #pragma warning ( disable : 4786 )
  21. //MSRDEVBUG: Caused by 'valarray': revisit these.
  22. // disable "unsafe use of type 'bool' in operation"
  23. #pragma warning ( disable : 4804 )
  24. // disable "forcing value to bool 'true' or 'false'"
  25. #pragma warning ( disable : 4800 )
  26. // disable "identifier truncated"
  27. #pragma warning ( disable : 4786 )
  28. #endif