home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s038 / 10.ddi / 017.LIF / LINT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-02  |  3.0 KB  |  81 lines

  1. /* lint.h -  PC-Lint configuration file for Intel C
  2.  * $Version: 1.1 $
  3.  * Copyright (c) 1989 Intel Corporation, ALL RIGHTS RESERVED.
  4.  * PC-Lint is a trademark of Gimplel Software.
  5.  */
  6.  
  7. #ifndef _pclinth
  8. #define _pclinth
  9. /*lint -library */
  10.  
  11. /*lint -hsb^3   s=space after each message
  12.                 b=indicator goes below the source line
  13.                 ^=use caret (^) as the "indicator"
  14.                 3=height of message is 3 lines
  15.  */
  16. /*lint -w(78,4) 78=number of chars per line
  17.                  4=indent continued lines 4 chars
  18.  */
  19.  
  20. /*lint -d_ARCHITECTURE_  this preprocessor symbol is pre-defined */
  21. /*lint -d_FAR_CODE_      this preprocessor symbol is pre-defined */
  22. /*lint -d_FAR_DATA_      this preprocessor symbol is pre-defined */
  23. #if _ARCHITECTURE_ == 386
  24. /*lint -d_LONG64_        this preprocessor symbol is pre-defined */
  25. #endif
  26. /*lint -d_NPX_           this preprocessor symbol is pre-defined */
  27. /*lint -d_OPTIMIZE_      this preprocessor symbol is pre-defined */
  28. /*lint -d_ROM_           this preprocessor symbol is pre-defined */
  29.  
  30.  
  31. /*lint +fce     continue-on-error true              */
  32. /*lint -fcu     char-is-unsigned false (signed)     */
  33. #if _ARCHITECTURE_ == 86 || _ARCHITECTURE_ == 186 || _ARCHITECTURE_ == 286
  34. /*lint -fdl     ptr-diff-is-long false (int)        */
  35. #elif _ARCHITECTURE_ == 386
  36. /*lint +fdl     ptr-diff-is-long true               */
  37. #endif
  38. /*lint -fie     int-model-for-enum false (strict)   */
  39. /*lint -fkp     k&r-preproc false (ANSI)            */
  40. /*lint +rw(*ms) activate all Microsoft keywords     */
  41. /*lint -rw(_loadds,_export,_saveregs,huge,fortran,pascal,cdecl,interrupt)
  42.                 disable these MS keywords           */
  43. /*lint +rw(alien,readonly)
  44.                 these are Intel reserved (w/EXTEND) */
  45. /*lint -t4      tabsize=4 (default)                 */
  46. /*lint -$       accept $ in identifiers             */
  47.  
  48. /*lint -sb8     bits in a byte                  */
  49. /*lint -sc1     sizeof(char)        returns 1   */
  50. /*lint -ss2     sizeof(short)       returns 2   */
  51. #if _ARCHITECTURE_ == 86 || _ARCHITECTURE_ == 186 || _ARCHITECTURE_ == 286
  52. /*lint -si2     sizeof(int)         returns 2   */
  53. #elif _ARCHITECTURE_ == 386
  54. /*lint -si4     sizeof(int)         returns 4   */
  55. #endif
  56. #if   _ARCHITECTURE_ == 386
  57. #  if _LONG64_
  58. /*lint -sl8     sizeof(long)        returns 8   */
  59. #  endif
  60. #else
  61. /*lint -sl4     sizeof(long)        returns 4   */
  62. #endif
  63. /*lint -sf4     sizeof(float)       returns 4   */
  64. /*lint -sd8     sizeof(double)      returns 8   */
  65. /*lint -sld8    sizeof(long double) returns 8   */
  66.  
  67. /*lint -spNP2   near code pointers are 2 bytes  */
  68. /*lint -spND2   near data pointers are 2 bytes  */
  69. /*lint -spFP4   far code pointers are 4 bytes   */
  70. /*lint -spFD4   far data pointers are 4 bytes   */
  71.  
  72. /*lint -dselector="void *"
  73.                 for linting ONLY, treat selector
  74.                 as "void *"
  75.  */
  76.  
  77. /*lint -e537    disable "repeated include file" */
  78. /*lint -e75     disable "too late to change sizes" */
  79.  
  80. #endif /* _pclinth */
  81.