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.

59 lines
976 B

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. scpragma.h
  5. Abstract:
  6. This file contains compiler pragmas to disable specific warnings to
  7. let the Service Controller compile at warning level 4
  8. Author:
  9. Jonathan Schwartz (jschwart) 25-Apr-2000
  10. Environment:
  11. User Mode -Win32
  12. Revision History:
  13. 25-Apr-2000
  14. created
  15. --*/
  16. // Unreferenced formal parameter
  17. #pragma warning (disable: 4100)
  18. // Conditional expression is constant
  19. #pragma warning (disable: 4127)
  20. // Nameless struct/union
  21. #pragma warning (disable: 4201)
  22. // Redefined extern to static
  23. #pragma warning (disable: 4211)
  24. // Bit field types other than int
  25. #pragma warning (disable: 4214)
  26. // Address of dllimport is not static
  27. #pragma warning (disable: 4232)
  28. // Cast truncates constant value
  29. #pragma warning (disable: 4310)
  30. // Assignment within conditional expression
  31. #pragma warning (disable: 4706)