rpm/.lclintrc

66 lines
1.7 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
-includenest 16 # getting deep, sigh
# --- not-yet at strict level
-bitwisesigned # pita
-elseifcomplete # 95 occurences
-exportconst # 839 occurences
-exportfcn
-exporttype
-exportvar
-fielduse # 1 occurence <bits/sigset.h>
-forblock # tedious
-ifblock # tedious
-incondefs # <bits/{ipc,pthreadtypes}.h> heartburn
-matchfields # <bits/ipc.h> heartburn
-namechecks # tedious ANSI compliance checks
-numenummembers 1024 # RPMTAG has 138 members
-numstructfields 256 # Java jni.h has 229 fields
-ptrarith # tedious
-strictops
-strictusereleased
-stringliterallen 4096 # redhat*PubKey's are big
-whileblock # tedious
# --- random anal-retentive parameters
#+mod-internal-strict
#+globnoglobs # 1 occurence
#+internalglobnoglobs # ???
#+modglobsunchecked # 73 occurences
#+warnmissingglobsnomods # ???
#+strictbranchstate
#+strictdestroy
#+ansi-reserved-internal
#+sys-dir-errors # 749
#controlnestdepth 15
# --- not-yet at checks level
-ansi-reserved # goofy
+enumint # 93 occurences
-mustfree # 1612 occurences, _free and alloca are painful
-predboolptr # 773 occurences
-usedef # 303 occurences, HGE_t needs work
# --- not-yet at standard level
-boolops # 1898 occurences
-predboolint # 1248 occurences
+boolint # 74 occurences
+charint # 529 occurences
+ignorequals # 138 occurences
+matchanyintegral # 225 occurences