Source code of Windows XP (NT5)
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.

51 lines
1.1 KiB

  1. // Copyright (c) 2000-2001 Microsoft Corporation
  2. //
  3. // pragma warnings
  4. //
  5. // 8 Feb 2000 sburns
  6. // disable "symbols too long for debugger" warning: it happens a lot w/ STL
  7. #pragma warning (disable: 4786)
  8. // disable "exception specification ignored" warning: we use exception
  9. // specifications
  10. #pragma warning (disable: 4290)
  11. // who cares about unreferenced inline removal?
  12. #pragma warning (disable: 4514)
  13. #pragma warning (disable : 4505)
  14. // we frequently use constant conditional expressions: do/while(0), etc.
  15. #pragma warning (disable: 4127)
  16. // some stl templates are lousy signed/unsigned mismatches
  17. #pragma warning (disable: 4018 4146)
  18. // we like this extension
  19. #pragma warning (disable: 4239)
  20. // we don't always want copy constructors
  21. #pragma warning (disable: 4511)
  22. // we don't always want assignment operators
  23. #pragma warning (disable: 4512)
  24. // often, we have local variables for the express purpose of ASSERTion.
  25. // when compiling retail, those assertions disappear, leaving our locals
  26. // as unreferenced.
  27. #ifndef DBG
  28. #pragma warning (disable: 4189 4100)
  29. #endif // DBG