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.

28 lines
1.0 KiB

  1. // C4100: 'identifier' : unreferenced formal parameter
  2. #pragma warning(disable: 4100)
  3. // C4201: nonstandard extension used: nameless struct/union
  4. #pragma warning(disable: 4201)
  5. // C4706: assignment within conditional expression
  6. #pragma warning(disable: 4706)
  7. // C4211: nonstandard extension used: redefined extern to static
  8. #pragma warning(disable: 4211)
  9. // C4702: unreachable code
  10. // This one is useful/interesting but having it enabled breaks do { foo(); bar(); goto Exit; } while (0) macros.
  11. #pragma warning(disable: 4702)
  12. // C4505: unreferenced local function has been removed
  13. #pragma warning(disable: 4505)
  14. // C4663: C++ language change: to explicitly specialize class template 'foo' use the following syntax:
  15. #pragma warning(disable: 4663)
  16. // C4127: conditional expression is constant
  17. // makes ASSERT() macros useless.
  18. #pragma warning(disable: 4127)
  19. // C4189: local variable is initialized but not referenced
  20. // makes macros that define things like __pteb = NtCurrentTeb() generate warnings/errors
  21. #pragma warning(disable: 4189)