home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / directx / d3dex1 / nowarn.h < prev    next >
C/C++ Source or Header  |  1997-07-14  |  843b  |  24 lines

  1. /*
  2.  * Shut that bloody bouzouki up!
  3.  * Disable the benign /W4 warnings generate when including system
  4.  * header files from .c source files.
  5.  *
  6.  * W4201 = nameless struct/union.
  7.  * W4214 = nonstandard extension used : bit field types other than int
  8.  * W4209 = nonstandard extension used : benign typedef redefinition
  9.  * W4001 = nonstandard extension used : 'single line comment' was used
  10.  * W4115 = named type definition in parantheses
  11.  * W4699 = Note: Creating precomplied header
  12.  * W4514 = Note: Creating new precomplied header
  13.  * W4127 = conditional expression is constant
  14.  */
  15. #pragma warning(disable:4201)
  16. #pragma warning(disable:4214)
  17. #pragma warning(disable:4209)
  18. #pragma warning(disable:4001)
  19. #pragma warning(disable:4115)
  20. #pragma warning(disable:4699)
  21. #pragma warning(disable:4514)
  22. #pragma warning(disable:4127)
  23.  
  24.