rpm/.lclintrc

84 lines
2.2 KiB
Plaintext

-I. -I./build -I./lib -I./rpmdb -I./rpmio -I./beecrypt -I./popt -I/usr/lib/gcc-lib/i386-redhat-linux/2.96/include -DHAVE_CONFIG_H -D_GNU_SOURCE -D_REENTRANT -DHAVE_DEV_DSP -DHAVE_SYS_SOUNDCARD
#+partial
#+forcehints
-warnunixlib
-warnposix
+unixlib
-unrecogcomments # XXX ignore doxygen markings
#-deepbreak # shortcut 485 occurences
+strict # lclint level
# --- not-yet at strict level
-bitwisesigned # pita
-elseifcomplete # 95 occurences
-evalorderuncon # 32 occurences
-exportconst # 839 occurences
-exportfcn
-exporttype
-exportvar
-fielduse # 1 occurence <bits/sigset.h>
-forblock # tedious
-globs
-globstate
-ifblock # tedious
-incondefs # <sys/{select,mman}.h> tedium
-internalglobs # 38 occurences
-looploopcontinue # 86 occurences
-loopswitchbreak # 286 occurences
-matchfields # <bits/ipc.h> heartburn
-modfilesys # 153 occurences
-modnomods # 927 occurences
-modobserveruncon # 192 occurences
-mods # 281 occurences, errno will be a pita
-mustmod # <sys/select.h> heartburn
-mutrep # <sys/select.h> heartburn
-namechecks # tedious ANSI compliance wrto db3
-noeffectuncon # 228 occurences
-numenummembers 1024 # RPMTAG has 138 members
-numstructfields 256 # Java jni.h has 229 fields
-ptrarith # tedious
-sizeoftype # <sys/select.h> tedium
-strictops
-strictusereleased
-stringliterallen 4096 # redhat*PubKey's are big
-usedef # 303 occurences, HGE_t needs special annotatitions
-warnmissingglobs
-whileblock # tedious
# --- random anal-retentive parameters
#+mod-internal-strict
#+globnoglobs # 1 occurence
#+internalglobnoglobs # ???
#+modglobsunchecked # 73 occurences
#+warnmissingglobsnomods # ???
#+impcheckedstrictglobs # 358 occurences
#+impcheckedstrictstatics # 1057 occurences
#+strictbranchstate
#+strictdestroy
#+ansi-reserved-internal
#+sys-dir-errors # 749
#controlnestdepth 15
# --- not-yet at checks level
-predboolptr # 773 occurences
+enumint # 93 occurences
-allglobs # 131 occurrences
-ansi-reserved # goofy
-proto-param-match # 51 occurences
# don't-bother-me-yet parameters
-branchstate # painful
-mustfree # alloca is painful
# --- not-yet at standard level
-boolops # 1898 occurences
-predboolint # 1248 occurences
-type # 3019 occurences