Splint fiddles.
[tools/librpm-tizen.git] / .splintrc
1 -I. -I./build -I./lib -I./rpmdb -I./rpmio -I./beecrypt -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 +bounds
17 +slovak-fcns
18 -redecl
19 -bufferoverflowhigh
20
21 -macroparams
22 -declundef
23 -enummemuse
24 -fcnuse
25 -typeuse
26 -varuse
27
28 # --- not-yet at strict level
29 -bitwisesigned          # pita
30 -elseifcomplete         # 95 occurences
31 -exportconst            # 839 occurences
32 -exportfcn
33 -exporttype
34 -exportvar
35 -fielduse               # 1 occurence <bits/sigset.h>
36 -forblock               # tedious
37 -ifblock                # tedious
38 -namechecks             # tedious ANSI compliance checks
39 -ptrarith               # tedious
40
41 -compdestroy
42 -mustdefine
43 -sys-dir-errors
44
45 -strictops
46 -whileblock             # tedious
47
48 # --- random anal-retentive parameters
49 #+mod-internal-strict
50 #+globnoglobs           # 1 occurence
51 #+internalglobnoglobs           # ???
52 #+modglobsunchecked     # 73 occurences
53 #+warnmissingglobsnomods        # ???
54 #+strictbranchstate
55 #+strictdestroy
56 #+ansi-reserved-internal
57 #controlnestdepth 15
58
59 # --- not-yet at checks level
60 -ansi-reserved          # goofy
61 +enumint                # 93 occurences
62 -mustfree               # 1612 occurences, _free and alloca are painful
63 -predboolptr            # 773 occurences
64 -usedef                 # 303 occurences, HGE_t needs work
65
66 # --- not-yet at standard level
67 -boolops                # 1898 occurences
68 -predboolint            # 1248 occurences
69 +boolint                # 74 occurences
70 +charint                # 529 occurences
71 +ignorequals            # 138 occurences
72 +matchanyintegral       # 225 occurences