home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_06_08 / v6n8026a.txt < prev    next >
Text File  |  1989-09-28  |  1KB  |  43 lines

  1. Example: lint > temp -i:INCLUDES/ +vm sl-lc main.c mod1.c mod2.c
  2.  
  3.  
  4.  
  5. lint >temp +vm -iIncludes sl-lc.c foo.c
  6.  
  7.  
  8.  
  9.  
  10.                         FIGURE ONE
  11. ┌───────────────────────────────────────────────────────────┐
  12. │ Lint for the Amiga 2.00j - Copyright Gimple Software 1987 │
  13. │                                                           │
  14. │ File lines.c, Line 138                                    │
  15. │         if(((rand() >> 5) & 127) < 2)                     │
  16. │                         ^                                 │
  17. │   Informational 704: Shift of signed value                │
  18. │                                                           │
  19. └───────────────────────────────────────────────────────────┘
  20.  
  21.  
  22.  
  23. Examples: -e7??      would turn off all level 700 informational messages.
  24.           +e7??      would turn them back on.
  25.           -libarary  would treat the following code as library declarations
  26.                      and suppress messages about unused declarations.
  27.           +fva       would set the variable arguments flag on.
  28.  
  29.  
  30.  
  31. Examples:  /*lint -save -e544 -library */
  32.            /*lint +fva  Amiga Lint command */
  33.            /* VARARGS */ /* The same SYS V Lint command */
  34.  
  35.  
  36.  
  37. /*lint -save -e544 -library */
  38. #include <stdio.h>
  39. #include <exec/types>
  40. #include <intuition/intuition.h>
  41. /*lint -restore */
  42.  
  43.