Advertisement
sebbu

PC-Lint help

Jan 28th, 2012
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.41 KB | None | 0 0
  1. PC-lint for C/C++ (NT) Vers. 9.00i, Copyright Gimpel Software 1985-2012
  2.  
  3. _________________________ MESSAGE GROUP _________________________
  4.  
  5. ----- Error Inhibition Options -----
  6. (- inhibits and + enables error messages)
  7. (# and Symbol may include wild-card characters '?' and '*')
  8.  
  9. -e# Inhibit message number # !e# Inhibit message # this line
  10. -e(#) Inhibit for next expression --e(#) For entire current expression
  11. -e{#} Inhibit for next {region} --e{#} For entire current {region}
  12. -eai Args differ sub-integer -ean Args differ nominally
  13. -eas Args same size -eau Args differ signed-unsigned
  14. -ecall(#,<Func>) By number, fnc call -efile(#,<File>) By number, file
  15. -efunc(#,<Func>) By number, function +efreeze disable Message inhibition
  16. +efreeze(w<lvl>) Freeze for <lvl> ++efreeze[(w<lvl>)] Deep-freeze <lvl>
  17. -elib(#) Within library headers -elibcall(#) Calls to library fnctns
  18. -elibmacro(#) For all library macros -elibsym(#) For all library symbols
  19. -emacro(#,Symbol) Within macro -emacro((#),Symbol) Within expr macro
  20. --emacro((#),Symbol) Within expr macro -emacro({#},Symbol) Next stmt macro
  21. --emacro({#},Symbol) Within stmt macro -epn Pointers to nominal
  22. -epnc Pointers to nominal chars -epp Pointers are pointers
  23. -eps Pointers to same size -epu Pointers to signed-unsigned
  24. -epuc Pointers to sgnd-unsgnd chars -estring(#,String) By number, string
  25. ------> quit (q), previous (p), or next [n] n
  26. -esym(#,Symbol) By number, symbol +esym(#,Symbol) Enable by no. symbol
  27. -etd(<TypeDiff>) Ignore type diff. -etemplate(#) In template expansion
  28. -etype(#,<TypeName>) By number, type -limit(n) Limits number of messages
  29. ++limit(n) Locks in limit of n -save Saves error inhibitions
  30. -restore Resets error inhibitions -restore_at_end Restores at module end
  31. -w<lvl> Set warning level (0,1,2,3,4) -wlib(<lvl>) Library warning level
  32. -zero Sets exit code to 0 -zero(#) like -zero unless msg no. < #
  33.  
  34. ------ Verbosity Options ------
  35.  
  36. Format: -/+v[aceh-iostw#]{mf<int>*}
  37. -v... Output to stdout only
  38. -v Turn off verbosity (note absence of option letters)
  39. +v... Output to stderr and also to stdout
  40. +v Don't change options but output to stderr and stdout
  41. Zero or more of: a Attempts to open
  42. c Unique Calls e Function templates
  43. h Dump strong type hierarchy h- Compressed form of h
  44. i Indirect files o Display options
  45. s Storage consumed t Template expansions
  46. w Specific Walks # Append file ID nos.
  47. One of:
  48. m Module names (the default) f Header Files (implies m)
  49. <int> Every <int> lines (implies f) * All verbosity
  50. ------> quit (q), previous (p), or next [n] n
  51.  
  52. ----- Message Presentation Options -----
  53.  
  54. -h[abefFrsSm/<M>/<I>]<ht> message height (default = -ha_3)
  55. a Position indicator Above line b Indicator Below line
  56. f Frequent file information F Always produce file info
  57. e Place source line @ End of msg r Repeat source line each msg
  58. s Space after each non-wrapup msg S space after each msg
  59. m/<M>/ Macro indicator is <M> mn Turn off macro indication
  60. <I> The position Indicator <ht> Height of messages
  61. -width(<Width>,<Indent>) Message width (default = -width(79,4))
  62. -append(errno,msg) Appends msg for message errno
  63. -format=... Specifies message format
  64. -format4a=, -format4b= Specifies format if msg. ht. = 4
  65. -format_specific=... Prologue to specific Walk messages
  66. -format_stack=... Format for output of stack information
  67. -format_template=... Format for prologue to template instantiation
  68. -format_verbosity=... Format for verbosity under +html
  69. format codes (%...) format escapes (\...)
  70. %c column no. %l Line no. \t Tab
  71. %C Column no. + 1 %m Msg text \s Space
  72. %f Filename %n msg Number \a Alarm
  73. %i FunctIon name %t msg Type \q Quote
  74. %(...%) Use ... if '%f' or '%i' are non null \\ Backslash
  75. ------> quit (q), previous (p), or next [n] n
  76. \n Newline
  77. +source(suboptions) Echos entire source files(s); suboptions:
  78. -number Do not number lines -indent Do not indent hdr lines
  79. -m(files) Ignore given modules +h(hdrs) Echo given hdrs
  80. -h(hdrs) Do not echo hdrs +dir(dirs) Echo hdrs from these
  81. -dir(dirs) Do not echo hdrs from +class(all) Echo all hdrs
  82. +class(project) Echo project hdrs
  83. +html(options) Output in html format (example in env-html.lnt)
  84. version(...) Can be used to specify the version of html
  85. head(file) Includes file just after <html>
  86. +xml([name]) Activate escapes for xml (example in env-xml.lnt)
  87. If name is provided, output appears within <name> ... </name>
  88. -message(String) Output String as an informational message
  89. -summary([out-file]) Issues or appends a summary of error messages
  90. -t# Sets tab size to #
  91. +typename(#) Includes types of Symbols in message #
  92. +xml(name) Format output messages in xml
  93. .... message presentation flags ....
  94. ffn use Full file Names (OFF) ffo Flush Output each msg (ON)
  95. flm Lock Message format (OFF) frl Reference Location info (ON)
  96. fsn treat Strings as Names (OFF)
  97.  
  98. ------> quit (q), previous (p), or next [n] n
  99. ___________________________ DATA GROUP ___________________________
  100.  
  101. --- Scalar Data Size and Alignment Options (default value(s)) ---
  102.  
  103. -sb# bits in a byte (8) -sbo# sizeof(bool) (1)
  104. -sc# sizeof(char) (1) -slc# sizeof(long char) (2)
  105. -ss# sizeof(short) (2) -si# sizeof(int) (4)
  106. -sl# sizeof(long) (4) -sll# sizeof(long long) (8)
  107. -sf# sizeof(float) (4) -sd# sizeof(double) (8)
  108. -sld# sizeof(long double) (16) -smp# size of all member ptrs (4)
  109. -smpD# size of mem ptr (data) (4) -smpFP# size, mem ptr (Far Prog) (4)
  110. -smpNP# size, mem ptr (Near Prog) (4) -smpP# size of mem ptrs (prog) (4)
  111. -sp# sizeof(all pointers) (4 6) -spD# size of both data ptrs (4 6)
  112. -spF# size of both far ptrs (6) -spFD# size of far data pointer (6)
  113. -spFP# size of far prog pointer (6) -spN# size of both near ptrs (4)
  114. -spND# size of near data pointer (4) -spNP# size of near prog pointer (4)
  115. -spP# size of both program ptrs (4 6) -sw# size of wide char (2)
  116.  
  117. -a<code># Specifies alignment, <code> is any code used above in -s<code>#
  118. # = 1, no alignment; # = 2, 2-byte boundary; etc. By default, a type's
  119. alignment is the largest power of 2 that divides the size of the type
  120.  
  121. -align_max(n) Set the maximum alignment to n
  122. -align_max(push) Saves the current maximum alignment
  123. ------> quit (q), previous (p), or next [n] n
  124. -align_max(pop) Restores previously pushed maximum alignment
  125.  
  126. .... scalar data flags ....
  127. fba Bit Addressability (OFF) fbc Binary Constants 0b... (OFF)
  128. fbo Activate bool, true, false (ON) fcu char-is-unsigned (OFF)
  129. fdc (C++) Distinguish plain Char (ON) fdl pointer-diff.-is-long (OFF)
  130. fis Integral consts. are Signed (OFF) flc allow long char (OFF)
  131. fll allow long long int (OFF) fmd multiple definitions (OFF)
  132. fpd Pointers Differ in size (OFF) fsc strings are const char * (OFF)
  133. fsu string unsigned (OFF) fwc internal wchar_t for C (ON)
  134. fwm MS wprintf conventions (OFF) fwu wchar_t is unsigned (OFF)
  135.  
  136. ------- Data Modifier Options -------
  137.  
  138. -mS Small model -mD large Data model
  139. -mP large Program model -mL Large program and data
  140. .... data modifier flags ....
  141. f@m @ is a modifier (OFF) fat Parse .net ATtributes (ON)
  142. fcd cdecl is significant (OFF) fem allow Early Modifiers (OFF)
  143. fiq Ignore default Qualifier (OFF) fqb Qualifiers Before types (ON)
  144.  
  145. ------> quit (q), previous (p), or next [n] n
  146. ------ struct, union, class, enum, namespace Flags ------
  147.  
  148. fab ABbreviated structures (OFF) fan ANonymous unions (OFF)
  149. fas Anonymous Structures (OFF) fbu force Bit fields Unsigned (OFF)
  150. fct Create Tags (OFF) feb enum's can be Bitfields (ON)
  151. fie Integer-model-for-Enums (OFF) fld Label Designator (OFF)
  152. fns Nested Struct (ON) fnt (C++) Nested Tags (ON)
  153. fsg std is Global (OFF) fss regard Sub-Struct as base (ON)
  154. fus Using namespace std (OFF) fvl Variable Length arrays (OFF)
  155.  
  156. ________________________ PROCESSING GROUP ________________________
  157.  
  158. ------- Preprocessor Options -------
  159.  
  160. -d<name>[=<value>] Defines preprocessor symbol
  161. -d<name>{definition} For use with -scavenge
  162. -D<nm>[=<val>][;<nm>[=<val>]]... Define set of symbols
  163. +d... or +D... Same as -d or -D except it locks in a definition
  164. -d<name>()[=<value>] Define function-like macro
  165. -#d<name>[=<value>] Defines symbol (for #include only)
  166. -header(file) Auto-includes file in each module
  167. -i<directory> Search directory for #include
  168. -incvar(name) Change name of INCLUDE environment variable
  169. -/+macros Halve/double the maximum macro size
  170. ------> quit (q), previous (p), or next [n] n
  171. ------- Preprocessor Options -------
  172.  
  173. -d<name>[=<value>] Defines preprocessor symbol
  174. -d<name>{definition} For use with -scavenge
  175. -D<nm>[=<val>][;<nm>[=<val>]]... Define set of symbols
  176. +d... or +D... Same as -d or -D except it locks in a definition
  177. -d<name>()[=<value>] Define function-like macro
  178. -#d<name>[=<value>] Defines symbol (for #include only)
  179. -header(file) Auto-includes file in each module
  180. -i<directory> Search directory for #include
  181. -incvar(name) Change name of INCLUDE environment variable
  182. -/+macros Halve/double the maximum macro size
  183. -pch(hdr) Designates hdr as the pre-compiled header
  184. -ppw(word[,...]) Disables(-) or enables(+) pre-processor words
  185. +ppw(word[,...]) eg: +ppw(ident) enables #ident
  186. --ppw(word[,...]) Removes built-in meaning of word
  187. -ppw_asgn(w1,w2) Assigns pre-proc meaning of w2 to w1
  188. +pragma(name,action) Associates action with name; action is one of
  189. off Turns processing off (as with assembly code)
  190. on Turns processing back on
  191. once Physically include this file just once
  192. message Issue a message
  193. macro pragma_name becomes a macro
  194. fmacro pragma_name becomes a function-like macro
  195. ------> quit (q), previous (p), or next [n] n
  196. options pragma_name_suboption becomes a function macro
  197. ppw The pragma becomes a preprocessor command
  198. push_macro push_macro("nm") saves the current definition of nm
  199. pop_macro pop_macro("nm") restores a pushed definition
  200. -pragma(name) Disables pragma
  201. -u<name> Undefines <name>
  202. --u<name> Ignore past and future defines of <name>
  203. .... preprocessor flags ....
  204. fce continue-on-error (OFF) fep Extended Preprocessor exps. (OFF)
  205. fim -i can have multiple dirs. (ON) fln activate #line (ON)
  206. fps Parameters within Strings (OFF)
  207.  
  208. --------- Tokenizing Options ---------
  209. (see also Compiler Adaptation Keywords)
  210.  
  211. -$ Permits $ in identifiers
  212. -ident(<chars>) Add identifier characters
  213. -ident1(<char>) Define a 1-char identifier
  214. +linebuf Doubles size of line buffer
  215. -rw(word[,...]) Disables(-) or enables(+) reserved words ...
  216. +rw(word[,...]) word = '*ms' implies all MS keywords
  217. --rw(word[,...]) Removes built-in meaning of word
  218. -rw_asgn(w1,w2) Assigns reserved word meaning of w2 to w1
  219. .... flags affecting tokenization ....
  220. ------> quit (q), previous (p), or next [n] n
  221. --------- Tokenizing Options ---------
  222. (see also Compiler Adaptation Keywords)
  223.  
  224. -$ Permits $ in identifiers
  225. -ident(<chars>) Add identifier characters
  226. -ident1(<char>) Define a 1-char identifier
  227. +linebuf Doubles size of line buffer
  228. -rw(word[,...]) Disables(-) or enables(+) reserved words ...
  229. +rw(word[,...]) word = '*ms' implies all MS keywords
  230. --rw(word[,...]) Removes built-in meaning of word
  231. -rw_asgn(w1,w2) Assigns reserved word meaning of w2 to w1
  232. .... flags affecting tokenization ....
  233. fnc nested comments (OFF) ftg permit Tri Graphs (ON)
  234.  
  235. --------- Parsing Options ---------
  236.  
  237. -fallthrough A switch case allowing flow from above
  238. -unreachable A point in a program is unreachable
  239. .... parsing flags ....
  240. ffb for clause creates Block (ON) flf (C++) process lib func defs (OFF)
  241. fna (C++) allow 'operator new[]' (ON) fpc Pointer Casts retain lvalue(OFF)
  242. fpm Precision is Max of args (OFF)
  243.  
  244. ------> quit (q), previous (p), or next [n] n
  245. -------- Template Options --------
  246.  
  247. -tr_limit(n) Sets a template recursion limit
  248. -template(X) Hex constant X sets esoteric template flags
  249. .... template flags ....
  250. ftf raw template functions (OFF)
  251.  
  252. ---- Compiler-adaptation Options ----
  253.  
  254. -A Specifies strict ANSI
  255. -A(Cyear) Specifies the year of the assumed C standard
  256. -A(C++year) Specifies the year of the assumed C++ standard
  257. -c<code> Identifies the compiler
  258. -a#<predicate>(tokens) Assert the truth of #<predicate> for tokens (Unix)
  259. +/-compiler(flag[,...]) Sets/resets flag; default value shown by (ON/OFF)
  260. std_digraphs (OFF) Enables '<:' and ':>' with standard meaning
  261. base_op (OFF) Enables digraph ':>' with ancient meaning
  262. std_alt_keywords (OFF) Enables keywords: and, and_eq, bitand, bitor,
  263. compl, not, not_eq, or, or_eq, xor, xor_eq
  264. -overload(X) Hex constant X sets esoteric overload resolution flags
  265. -plus(Char) Identifies Char as an alternate option char equiv to +
  266. -scavenge(filename-pat[,...])
  267. Turns lint into a scavenger of macro names within
  268. files matching filename-patterns
  269. ------> quit (q), previous (p), or next [n] n
  270. -scavenge(clean,file) Used subsequently to clean up file which bears
  271. the results of compiler macro replacement
  272. -template(X) Hex constant X sets esoteric template flags
  273. .... compiler-adaptation reserved words (keywords) ....
  274. @ Ignore expression to the right
  275. __assert 'Ideal' assert function
  276. ___assert Like _assert but it always returns
  277. _bit 1 bit wide type
  278. _gobble Ignore next token
  279. _ignore_init Ignore initializer for data and ...
  280. ignore function body for functions
  281. _to_brackets Ignore next parenthesized (or bracketed) expression
  282. _to_semi Ignore until ;
  283. _to_eol Ignore until end-of-line
  284. _up_to_brackets Ignore up to and including a bracketed expression
  285. __packed struct data members are packed
  286. __typeof__(e) Like sizeof but returns the type of e
  287.  
  288. ----------- Old C Flags -----------
  289.  
  290. fdr deduce-return-mode (OFF) ffd promote floats to double (OFF)
  291. fkp K&R preprocessor (OFF) fmc macro concatenation (OFF)
  292. fsa structure-assignment (ON) ful unsigned long (ON)
  293. fva variable arguments (OFF) fvo void data type (ON)
  294. ------> quit (q), previous (p), or next [n] n
  295. ----------- Old C Flags -----------
  296.  
  297. fdr deduce-return-mode (OFF) ffd promote floats to double (OFF)
  298. fkp K&R preprocessor (OFF) fmc macro concatenation (OFF)
  299. fsa structure-assignment (ON) ful unsigned long (ON)
  300. fva variable arguments (OFF) fvo void data type (ON)
  301. fvr varying-return-mode (OFF) fxa eXact array arg. (OFF)
  302. fxc eXact char arg. (OFF) fxf eXact float arg. (OFF)
  303. fxs eXact short arg. (OFF) fzl sizeof-is-long (OFF)
  304. fzu sizeof-is-unsigned (ON)
  305.  
  306. ____________________ SPECIAL DETECTION GROUP ____________________
  307.  
  308. ------- Strong Type Options -------
  309.  
  310. -strong(Flags,Type(s)) Check strong types ..., Flags are:
  311. A[irpacz] == on Asgn to (except Init, Ret, Param, Asgn op, Consts, Zero);
  312. J[erocz] == on Joining (except Eqlty, Rel, Other ops, Constants, Zero);
  313. X == on eXtraction; l == allow library; B[f] or b[f] == strong and
  314. weak Boolean (f == length-1 bit fields are NOT Boolean)
  315. -index(flags,ixtype,type(s)) Establish ixtype as index type
  316. flags: c == allow Constants, d == allow Dimensions
  317. -parent(Parent,Children) Augment strong type hierarchy
  318. -father(Parent,Children) A stricter verson of parent
  319. ------> quit (q), previous (p), or next [n] n
  320. ------- Strong Type Options -------
  321.  
  322. -strong(Flags,Type(s)) Check strong types ..., Flags are:
  323. A[irpacz] == on Asgn to (except Init, Ret, Param, Asgn op, Consts, Zero);
  324. J[erocz] == on Joining (except Eqlty, Rel, Other ops, Constants, Zero);
  325. X == on eXtraction; l == allow library; B[f] or b[f] == strong and
  326. weak Boolean (f == length-1 bit fields are NOT Boolean)
  327. -index(flags,ixtype,type(s)) Establish ixtype as index type
  328. flags: c == allow Constants, d == allow Dimensions
  329. -parent(Parent,Children) Augment strong type hierarchy
  330. -father(Parent,Children) A stricter verson of parent
  331. .... strong type flags ....
  332. fhd hierarchy down warning (ON) fhg hierarchy uses graph. chars (ON)
  333. fhs hierarchy of strong types (ON) fhx Hierarchy of indeX types (ON)
  334.  
  335. -------- Semantic Options --------
  336.  
  337. -function(f0,f1, ...) Assign semantics of f0 to f1, ...
  338. -printf(#,f1, ...) f1, ... are printf-like, # is arg. no. of format
  339. -scanf(#,f1, ...) f1, ... are scanf-like, # is arg. no. of format
  340. -printf_code(Code[,Type]) Allows user-defined printf codes
  341. -scanf_code(Code[,Type]) Allows user-defined scanf codes
  342. -sem(fnc,sem1, ...) Associates a set of semantics with a function
  343. -wprintf(#,f1, ...) Wide char version of -printf
  344. ------> quit (q), previous (p), or next [n] n
  345. -------- Semantic Options --------
  346.  
  347. -function(f0,f1, ...) Assign semantics of f0 to f1, ...
  348. -printf(#,f1, ...) f1, ... are printf-like, # is arg. no. of format
  349. -scanf(#,f1, ...) f1, ... are scanf-like, # is arg. no. of format
  350. -printf_code(Code[,Type]) Allows user-defined printf codes
  351. -scanf_code(Code[,Type]) Allows user-defined scanf codes
  352. -sem(fnc,sem1, ...) Associates a set of semantics with a function
  353. -wprintf(#,f1, ...) Wide char version of -printf
  354. -wscanf(#,f1, ...) Wide char version of -scanf
  355.  
  356. .... semantics (i.e. arguments to the -sem option) ....
  357. 4 kinds of semantics: 0 == overall, a == argument, r == return, f == flag
  358. kind: semantic: meaning:
  359. r r_null function may return NULL
  360. r r_no function does not return
  361. f initializer function initializes all data members
  362. f cleanup function that clears all pointer data members
  363. a #p #th argument must not be NULL
  364. a custodial(#) #th argument takes custody
  365. a type(#) #th argument is reflected into the return type
  366. a pod(#) #th argument must be POD
  367. a nulterm(#) #th argument is nul-terminated
  368. a inout(#) #th argument is read and written
  369. ------> quit (q), previous (p), or next [n] n
  370. f pure the function is a pure function
  371. r expression (see 'expression components' below) containing the @
  372. operator is assumed true with @ representing the return value
  373. 0 any other expression is considered a function requirement
  374.  
  375. .... expression components: ....
  376. Parentheses: () Unary operators: + - | ~
  377. Binary operators: + - * / % < <= == != > >= | & ^ << >> || &&
  378. Ternary operator: ?:
  379. #n = integer value of #th arg #p = item count of #th arg
  380. #P = byte count of #th arg integer = itself
  381. name of macro, enum, const = current value of same
  382. malloc(exp) = malloc'ed area of size exp
  383. new(exp) = new'ed area of size exp new[](exp) = new[]ed area of size exp
  384.  
  385. .... thread semantics ....
  386. thread = the function is a thread thread_mono = a single-instance thread
  387. no_thread = function is not a thread thread_lock = function locks a mutex
  388. thread_unlock = ftn unlocks a mutex
  389. thread_create(#) = #th argument is a thread
  390. thread_unsafe = unsafe to call by multiple threads
  391. thread_unsafe(groupid) = group can't be called by multiple threads
  392. thread_safe = not thread_unsafe
  393. thread_protected = function is protected by critical section
  394. ------> quit (q), previous (p), or next [n] n
  395. thread_not(list) = lists threads that may not invoke function
  396. thread_only(list) = lists the only threads that may invoke function
  397.  
  398. .... semantic flags ....
  399. ffc Function takes Custody (ON)
  400.  
  401. ----- Thread Options -----
  402. (see also thread semantics)
  403. prefix '+' designates a property and '-' reverses it
  404. +/-thread_unsafe_h(hdr[,...]) ftns in headers are thread_unsafe
  405. +/-thread_unsafe_group_h(hdr[,...]) ftns in hdrs form a thread_unsafe group
  406. +/-thread_unsafe_dir(dir[,...]) hdrs in dirs house thread_unsafe ftns
  407. +/-thread_unsafe_group_dir(dir[,...]) hdrs in dirs form a thread_unsafe group
  408.  
  409. ----- Value Tracking Options -----
  410.  
  411. -passes(k[,Opt1[,Opt2]]) Requests k passes
  412. -specific(op1[,op2]) Options op1 before and op2 after every specific walk
  413. -specific_climit(n) Per function Limit on the no. of recorded calls
  414. -specific_wlimit(n) Walk limit on the number of recursively generated calls
  415. -specific_retry(n) n== 0 implies inhibiting rewalking with same parameters
  416. -static_depth(n) Adjusts the depth of static variable analysis
  417. .... value tracking flags ....
  418. fai pointed-to Arg is Initialized(ON) fii Inhibit Inference (OFF)
  419. ------> quit (q), previous (p), or next [n] n
  420. ----- Value Tracking Options -----
  421.  
  422. -passes(k[,Opt1[,Opt2]]) Requests k passes
  423. -specific(op1[,op2]) Options op1 before and op2 after every specific walk
  424. -specific_climit(n) Per function Limit on the no. of recorded calls
  425. -specific_wlimit(n) Walk limit on the number of recursively generated calls
  426. -specific_retry(n) n== 0 implies inhibiting rewalking with same parameters
  427. -static_depth(n) Adjusts the depth of static variable analysis
  428. .... value tracking flags ....
  429. fai pointed-to Arg is Initialized(ON) fii Inhibit Inference (OFF)
  430. fiw Initialization is a Write (ON) fiz Init'n by Zero is a Write (ON)
  431. fnn (C++) new can return NULL (OFF) fnr Null ptr may be Returned (OFF)
  432. fpn pointer param may be NULL (OFF) fsp SPecific function calls (ON)
  433. fsv track Static Variables (ON)
  434.  
  435. ---- Miscellaneous Detection Options ----
  436.  
  437. -deprecate(category,name,commentary) Deprecates use of a name
  438. categories: function, keyword, macro, variable
  439. +headerwarn(file) Causes Msg 829 to be issued for a given file
  440. -idlen(<n>[,opt]) Report identifier clashes in <n> chars
  441. opt: x=external, p=preprocessor, c=compiler
  442. -size(flags,amount) Report large aggregates; flags: a auto, s static
  443. .... special detection flags ....
  444. ------> quit (q), previous (p), or next [n] n
  445. ---- Miscellaneous Detection Options ----
  446.  
  447. -deprecate(category,name,commentary) Deprecates use of a name
  448. categories: function, keyword, macro, variable
  449. +headerwarn(file) Causes Msg 829 to be issued for a given file
  450. -idlen(<n>[,opt]) Report identifier clashes in <n> chars
  451. opt: x=external, p=preprocessor, c=compiler
  452. -size(flags,amount) Report large aggregates; flags: a auto, s static
  453. .... special detection flags ....
  454. fet requires Explicit Throws (OFF) fil Indentation check of Labels (OFF)
  455.  
  456. __________________________ MISC. GROUP __________________________
  457.  
  458. ---------- Global Options ----------
  459.  
  460. -background Reduces task priority
  461. -/+/++b No/Redirect/Produce Banner line
  462. -p[(n)] Just preprocess, n == max output width
  463. -setenv(name=val) Sets an environment variable
  464. -u Unit checkout
  465.  
  466. .... global flags ....
  467. fpa PAuse before exiting (OFF)
  468.  
  469. ------> quit (q), previous (p), or next [n] n
  470. ----------- File Options -----------
  471.  
  472. +bypclass([all,angle,ansi,foreign]...) Default bypass headers
  473. -/+bypdir(directory[,...]) Deny or specify bypass directory
  474. -/+byph(header[,...]) Deny or specify bypass header by name
  475. -/+cpp(extension) Remove/add .ext for C++ files
  476. +ext(ext[,ext]...) Extensions attempted for extensionless files
  477. defaults to +ext(vac,lnt,cpp,cxx,c)
  478. -indirect(file) Process indirect (.lnt) file
  479. +libclass([all,angle,ansi,foreign]...) Default library headers
  480. -/+libdir(directory[,...]) Deny or specify library directory
  481. -/+libh(header[,...]) Deny or specify library header by name
  482. -/+libm(module[,...]) Deny or specify library module by name
  483. -library Sets library flag
  484. +lnt(ext) File.ext is treated like File.lnt
  485. -maxfiles(<n>) Sets an upper limit on the number of files
  486. -maxopen(<n>) Assumed number of openable files
  487. -pch(hdr) Designates hdr as the pre-compiled header
  488. -subfile( indirect-file, options|modules ) Process just 'options'
  489. or just 'modules' from indirect-file
  490. --u -u and ignore modules at lower .lnt level
  491. .... file flags ....
  492. fcp (C++) Force C++ processing (OFF) fda dbl-qts to Angle brackets (OFF)
  493. fdh append '.h' to header names (OFF) fdi Directory of Including file(OFF)
  494. ------> quit (q), previous (p), or next [n] n
  495. flb library (OFF) frb Files fopen'ed with "rb" (OFF)
  496. frn Treat CR as new-line (OFF) fsh shared file open (OFF)
  497. ftr truncate filenames to 8x3 (OFF)
  498.  
  499. --------- Output Options ---------
  500.  
  501. -od[options](filename) Output declarations of defined external
  502. objects and functions including prototypes,
  503. options: f=only functions, i=internal functions, s=structs
  504. <width>=specify break width
  505. -oe(filename) Redirect to standard Error (+oe appends)
  506. -ol(filename) Output library file
  507. -oo[(filename)] Output to lint object file
  508. -lobbase(filename) Establish a lob base file
  509. -os(filename) Redirect to standard out (+os appends)
  510. +program_info(output_prefix=<path>, suboptions ) Dumps information into
  511. <path>file.txt information about files
  512. <path>symbol.txt information about symbols
  513. <path>type.txt information about types
  514. <path>macro.txt information about macros
  515. +stack(sub-options) Issue report on function stack usage
  516. &file=filename Designates name of file to receive stack report
  517. &overhead(n) Sets the overhead of each function call
  518. &external(n) Sets assumed stack usage by each external function
  519. ------> quit (q), previous (p), or next [n] n
  520. name(n) Sets stack usage (n) explicitly for named function
  521. &summary Requests just a summary of stack info report.
  522. .... output option flags ....
  523. fod Output Declared to object (OFF) fol Output Library to object (OFF)
  524.  
  525. -------------------------- END OF OPTIONS -----------------------------
  526. ------> quit (q), previous (p), or next [n] n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement