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.

31 lines
1.2 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000-2001 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // Pragmas.h
  7. //
  8. // Description:
  9. // Project level pragmas.
  10. //
  11. // Maintained By:
  12. // Galen Barbee (GalenB) 22-APR-2000
  13. //
  14. //////////////////////////////////////////////////////////////////////////////
  15. #pragma once
  16. //////////////////////////////////////////////////////////////////////////////
  17. // Disable some warnings
  18. //////////////////////////////////////////////////////////////////////////////
  19. #pragma warning( disable : 4100 ) // unreferenced formal parameter
  20. #pragma warning( disable : 4127 ) // conditional expression is constant
  21. #pragma warning( disable : 4201 ) // nonstandard extension used : nameless struct/union
  22. #pragma warning( disable : 4509 ) // nonstandard extension used: 'function' uses SEH and 'object' has destructor
  23. //////////////////////////////////////////////////////////////////////////////
  24. // Enable some warnings
  25. //////////////////////////////////////////////////////////////////////////////
  26. #pragma warning( error : 4706 ) // assignment within conditional expression