home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / winsock / dt_dll / nowarn.h < prev    next >
C/C++ Source or Header  |  1997-09-21  |  992b  |  43 lines

  1. /*++
  2.  
  3.     Copyright (c) 1995 Intel Corporation
  4.     
  5. Module Name:
  6.  
  7.     nowarn.h
  8.  
  9. Abstract:
  10.  
  11.     This header contains pragmas to turn off compiler warnings that
  12.     may be safely ignored. 
  13.     
  14. --*/
  15.  
  16.  
  17. /* nonstandard extension 'single line comment' was used */
  18. #pragma warning(disable: 4001)
  19.  
  20. // argument differs in indirection to slightly different base types
  21. #pragma warning(disable: 4057)
  22.  
  23. // unreferenced formal parameter
  24. #pragma warning(disable: 4100)
  25.  
  26. // named type definition in parentheses
  27. #pragma warning(disable: 4115)
  28.  
  29. // nonstandard extension used : nameless struct/union
  30. #pragma warning(disable: 4201)
  31.  
  32. // nonstandard extension used : benign typedef redefinition
  33. #pragma warning(disable: 4209)
  34.  
  35. // nonstandard extension used : bit field types other than int
  36. #pragma warning(disable: 4214)
  37.  
  38. // unreferenced inline function has been removed
  39. #pragma warning(disable: 4514)
  40.  
  41. // Note: Creating precompiled header 
  42. #pragma warning(disable: 4699)
  43.