Splint fiddles.
[tools/librpm-tizen.git] / .splintrc
1 -I. -I./build -I./lib -I./rpmdb -I./rpmio -I./beecrypt -I./lua/include -I./lua/local -I./file -I./popt -I./elfutils/libelf -I./zlib -I/usr/lib/gcc-lib/i386-redhat-linux/3.1/include -DHAVE_CONFIG_H -D_GNU_SOURCE -D_REENTRANT -DHAVE_DEV_DSP -DHAVE_SYS_SOUNDCARD
2
3 #+partial
4 +forcehints
5
6 #-warnunixlib
7 -warnposix
8
9 +unixlib
10
11 -unrecogcomments        # XXX ignore doxygen markings
12
13 +strict                 # lclint level
14
15 # --- in progress
16 +likelybounds
17 +slovak-fcns
18 +access-slovak
19 -redecl
20 -bufferoverflowhigh
21 -whileempty
22
23 -macroparams
24 -declundef
25 -enummemuse
26 -fcnuse
27 -typeuse
28 -varuse
29
30 # --- not-yet at strict level
31 -bitwisesigned          # pita
32 -elseifcomplete         # 95 occurences
33 -exportconst            # 839 occurences
34 -exportfcn
35 -exporttype
36 -exportvar
37 -fielduse               # 1 occurence <bits/sigset.h>
38 -forblock               # tedious
39 -ifblock                # tedious
40 -namechecks             # tedious ANSI compliance checks
41 -ptrarith               # tedious
42
43 -compdestroy
44 -mustdefine
45 -sys-dir-errors
46
47 -strictops
48 -whileblock             # tedious
49
50 # --- random anal-retentive parameters
51 #+mod-internal-strict
52 #+globnoglobs           # 1 occurence
53 #+internalglobnoglobs           # ???
54 #+modglobsunchecked     # 73 occurences
55 #+warnmissingglobsnomods        # ???
56 #+strictbranchstate
57 #+strictdestroy
58 #+ansi-reserved-internal
59 #controlnestdepth 15
60
61 # --- not-yet at checks level
62 -ansi-reserved          # goofy
63 +enumint                # 93 occurences
64 -mustfree               # 1612 occurences, _free and alloca are painful
65 -predboolptr            # 773 occurences
66 -usedef                 # 303 occurences, HGE_t needs work
67
68 # --- not-yet at standard level
69 -boolops                # 1898 occurences
70 -predboolint            # 1248 occurences
71 +boolint                # 74 occurences
72 +charint                # 529 occurences
73 +ignorequals            # 138 occurences
74 +matchanyintegral       # 225 occurences