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.

42 lines
2.1 KiB

  1. #pragma warning(3:4092) // sizeof returns 'unsigned long'
  2. #pragma warning(3:4121) // structure is sensitive to alignment
  3. #pragma warning(3:4125) // decimal digit in octal sequence
  4. #pragma warning(3:4130) // logical operation on address of string constant
  5. #pragma warning(3:4132) // const object should be initialized
  6. #pragma warning(4:4206) // Source File is empty
  7. #pragma warning(4:4101) // Unreferenced local variable
  8. #pragma warning(4:4208) // delete[exp] - exp evaluated but ignored
  9. #pragma warning(3:4212) // function declaration used ellipsis
  10. #pragma warning(3:4242) // convertion possible loss of data
  11. #pragma warning(4:4312) // conversion to type of greater size
  12. #pragma warning(error:4700) // Local used w/o being initialized
  13. #pragma warning(error:4259) // pure virtual function was not defined
  14. #pragma warning(error:4071) // no function prototype given
  15. #pragma warning(error:4072) // no function prototype given (fastcall)
  16. #pragma warning(error:4171) // no function prototype given (old style)
  17. #pragma warning(error:4013) // 'function' undefined - assuming extern returning int
  18. #pragma warning(error:4551) // Function call missing argument list
  19. #pragma warning(error:4806) // unsafe operation involving type 'bool'
  20. #pragma warning(4:4509) // use of SEH with destructor
  21. #pragma warning(4:4177) // pragma data_seg s/b at global scope
  22. #pragma warning(disable:4786) // identifier was truncated to 255 chararcers in debug information.
  23. #if 0
  24. #pragma warning(3:4100) // Unreferenced formal parameter
  25. #pragma warning(3:4701) // local may be used w/o init
  26. #pragma warning(3:4702) // Unreachable code
  27. #pragma warning(3:4705) // Statement has no effect
  28. #pragma warning(3:4706) // assignment w/i conditional expression
  29. #pragma warning(3:4709) // command operator w/o index expression
  30. #endif
  31. #ifndef __cplusplus
  32. #undef try
  33. #undef except
  34. #undef finally
  35. #undef leave
  36. #define try __try
  37. #define except __except
  38. #define finally __finally
  39. #define leave __leave
  40. #endif