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.

83 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. msvprgma.h
  5. Abstract:
  6. This file contains compiler pragmas to disable specific warnings to
  7. let NTLM 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. // Named type definition in parentheses
  19. #pragma warning (disable: 4115)
  20. // Conditional expression is constant
  21. #pragma warning (disable: 4127)
  22. // Zero-sized array in struct/union
  23. #pragma warning (disable: 4200)
  24. // Nameless struct/union
  25. #pragma warning (disable: 4201)
  26. // Redefined extern to static
  27. #pragma warning (disable: 4211)
  28. // Bit field types other than int
  29. #pragma warning (disable: 4214)
  30. // Address of dllimport is not static
  31. #pragma warning (disable: 4232)
  32. // Cast truncates constant value
  33. #pragma warning (disable: 4310)
  34. // Structure was padded due to __declspec(align())
  35. #pragma warning (disable: 4324)
  36. // LHS indirection alignment greater than argument alignment
  37. #pragma warning (disable: 4327)
  38. // Pointer indirection alignment greater than argument alignment
  39. #pragma warning (disable: 4328)
  40. // Removal of unused inline functions
  41. #pragma warning (disable: 4514)
  42. // Assignment within conditional expression
  43. #pragma warning (disable: 4706)