pre64pra.h
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 1k
Development Platform:

C/C++

  1. // Note: For 64 bit builds only
  2. // Currently, if the user includes WIN32.MAK and uses the $(cflags) environment variable
  3. // several warnings will be displayed when compiling.  This creates problems when some 
  4. // samples set warnings to errors.  So we have disabled some of the warnings.
  5. //
  6. // Below is a list of the warnings disabled by the PSDK in the 64 bit build environments
  7. //
  8. // To reenable a warning, simply comment out the pragma line containing the warning
  9. // you wish to be displayed.
  10. #pragma warning(disable: 4053)    // An expression of type VOID was used as an operand
  11. #pragma warning(disable: 4100)    // Unreferenced formal parameter
  12. #pragma warning(disable: 4115)    // Named type definition in parentheses
  13. #pragma warning(disable: 4127)    // Conditional expression is a constant
  14. #pragma warning(disable: 4189)    // Local Variable is initialized but not referenced
  15. #pragma warning(disable: 4201)    // Nameless struct/union (MS C/C++ specific)
  16. #pragma warning(disable: 4706)    // Assignment within conditional expression