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.

53 lines
2.9 KiB

  1. #pragma warning(3:4092) // sizeof returns 'unsigned long'
  2. #pragma warning(4: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:4267) // convertion from size_t to smaller type
  12. #pragma warning(4:4312) // conversion to type of greater size
  13. #pragma warning(error:4700) // Local used w/o being initialized
  14. //#pragma warning(3:4700) // Local used w/o being initialized
  15. #pragma warning(error:4259) // pure virtual function was not defined
  16. #pragma warning(error:4071) // no function prototype given
  17. #pragma warning(error:4072) // no function prototype given (fastcall)
  18. #pragma warning(error:4171) // no function prototype given (old style)
  19. #pragma warning(error:4013) // 'function' undefined - assuming extern returning int
  20. #pragma warning(error:4551) // Function call missing argument list
  21. #pragma warning(error:4806) // unsafe operation involving type 'bool'
  22. #pragma warning(4:4509) // use of SEH with destructor
  23. #pragma warning(4:4177) // pragma data_seg s/b at global scope
  24. #pragma warning(disable:4274) // #ident ignored
  25. #pragma warning(disable:4786) // identifier was truncated to 255 chararcers in debug information.
  26. #pragma warning(disable:4503) // decorated name length exceeded, name was truncated.
  27. #pragma warning(disable:4263) // Derived override doesn't match base - who cares...
  28. #pragma warning(disable:4264) // base function is hidden - again who cares.
  29. #pragma warning(disable:4710) // Function marked as inline - wasn't
  30. #pragma warning(disable:4917) // A GUID can only be associated with a class, interface or namespace
  31. #pragma warning(error:4552) // <<, >> ops used to no effect (probably missing an = sign)
  32. #pragma warning(error:4553) // == op used w/o effect (probably s/b an = sign)
  33. #if 0
  34. #pragma warning(3:4100) // Unreferenced formal parameter
  35. #pragma warning(3:4701) // local may be used w/o init
  36. #pragma warning(3:4702) // Unreachable code
  37. #pragma warning(3:4705) // Statement has no effect
  38. #pragma warning(3:4706) // assignment w/i conditional expression
  39. #pragma warning(3:4709) // command operator w/o index expression
  40. #endif
  41. #ifndef __cplusplus
  42. #undef try
  43. #undef except
  44. #undef finally
  45. #undef leave
  46. #define try __try
  47. #define except __except
  48. #define finally __finally
  49. #define leave __leave
  50. #endif
  51.