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.

75 lines
1.2 KiB

  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 MSGINA 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. // Nameless struct/union
  23. #pragma warning (disable: 4201)
  24. // Redefined extern to static
  25. #pragma warning (disable: 4211)
  26. // Bit field types other than int
  27. #pragma warning (disable: 4214)
  28. // Address of dllimport is not static
  29. #pragma warning (disable: 4232)
  30. // Cast truncates constant value
  31. #pragma warning (disable: 4310)
  32. // LHS indirection alignment greater than argument alignment
  33. #pragma warning (disable: 4327)
  34. // Pointer indirection alignment greater than argument alignment
  35. #pragma warning (disable: 4328)
  36. // Removal of unused inline functions
  37. #pragma warning (disable: 4514)
  38. // Assignment within conditional expression
  39. #pragma warning (disable: 4706)