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.

43 lines
730 B

  1. // Copyright (c) 2000 Microsoft Corporation
  2. //
  3. // pragma warnings
  4. //
  5. // 8 Feb 2000 sburns
  6. #define PRAGMAWARNING_HPP_INCLUDED
  7. // disable "exception specification ignored" warning: we use exception
  8. // specifications
  9. #pragma warning (disable: 4290)
  10. // we frequently use constant conditional expressions: do/while(0), etc.
  11. #pragma warning (disable: 4127)
  12. // we like this extension
  13. #pragma warning (disable: 4239)
  14. // often, we have local variables for the express purpose of ASSERTion.
  15. // when compiling retail, those assertions disappear, leaving our locals
  16. // as unreferenced.
  17. #ifndef DBG
  18. #pragma warning (disable: 4189)
  19. #pragma warning (disable: 4100)
  20. #endif // DBG