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.

94 lines
3.1 KiB

  1. /* File: options.lnt
  2. *
  3. * $Revision: 1.1 $
  4. * $Date: 1995/06/06 14:52:20 $
  5. */
  6. lib-w32.lnt
  7. -si4 // size of int is 4
  8. -sp4 // size of all pointers is 4
  9. -d_MSC_VER=900
  10. -d_M_IX86=300
  11. -d_INTEGRAL_MAX_BITS=64
  12. -d_MT
  13. -d__inline=
  14. -d__int64=long
  15. -d__declspec()=
  16. -d_WIN32
  17. -t4
  18. -limit(50)
  19. -format=%(%f(%l)\s:\s%)%t\s%n:\s%m
  20. // error format expected by Microsoft editor
  21. +fan // allow anonymous unions
  22. +fdi // Use directory of the including file
  23. +fcd // makes cdecl significant -- needed for MSC option -Gr
  24. +rw(__cdecl,__stdcall,__inline)
  25. -esym(123,min,max) // allows users to use as variables
  26. // Suppress these errors in library files
  27. -elib(46) // bitfields can be non-int
  28. -elib(514) // allow #if <boolean> | <boolean>
  29. // while processing compiler (library) header files ...
  30. -elib(537) // repeated include file
  31. -elib(602) // suppress message about comment within comment (w32)
  32. -elib(620) // using lower case 'l' instead of 'L'
  33. -elib(652) // suppress message about #define of earlier declared symbols
  34. -elib(726) // extranous commas in \mstools\h\shlobj.h
  35. -elib(762) // suppress message about multiple identical declarations and
  36. -elib(760) // suppress message about multiple identical macro defs
  37. -esym(123,FD_SET) // FD_SET defined as both macro and type in winsock.h!
  38. -esym(553,DBG) // DBG not defined in \mstools\h\objbase.h
  39. -esym(43,_MIDL_FORMAT_STRING::Format) // mstools\h\rpcndr.h
  40. +libclass(all) // during unit checkout, consider all .h files as lib headers
  41. // The following functions exhibit variable return modes.
  42. // That is, they may equally-usefully be called for a value
  43. // as called just for their effects. Accordingly we inhibit
  44. // Warning 534 for these functions.
  45. // Feel free to add to or subtract from this list.
  46. -esym(534,close,creat,fclose,fflush,_flsbuf,fprintf,fputc)
  47. -esym(534,fputs,fscanf,fseek,fwrite,lseek,memcpy,memmove,memset)
  48. -esym(534,printf,puts,scanf,sprintf,sscanf,strcat,strcpy)
  49. -esym(534,strncat,strncpy,unlink,write)
  50. // These are defined in the Wacker compile line
  51. -d_X86_
  52. -d_WINDOWS
  53. -d_MT
  54. -dWIN32
  55. -dSTRICT
  56. //-dUSA
  57. -dJAPANESE
  58. +fcu // char is unsigned
  59. -e506 // Constant value Boolean -- we use assert(FALSE) quite a bit
  60. -e534 // Return mode inconsistent -- we often call a function that
  61. // has a return value without using the return value
  62. -e740 // Unusual pointer cast -- we do this routinely because of our
  63. // use of pointers to incomplete types for handles
  64. -e766 // Header file not referenced. Including windows.h produces a lot
  65. // of these. May want to reenable to check use of locals .h files
  66. // Chicago header file blow these limits out of the water big time.
  67. -"esym(793,conditional inclusion levels,macros in module)"
  68. // Defined in MSVC to be undefined if you don't conform to ANSI C
  69. -esym(553,__STDC__)
  70. // Nonportable use of anonymouse structs in windows header file.
  71. // <winnt.h>, <mmsystem.h>
  72. -elib(657)
  73. // typedef superseeded by typedef in <prsht.h>
  74. -elib(761)
  75. // Nothing follows '}' on line within struct/union/enum declaration
  76. -elib(659)