[svn:parrot] r38583 - trunk/config/gen/makefiles
petdance at svn.parrot.org
petdance at svn.parrot.org
Fri May 8 04:10:43 UTC 2009
Author: petdance
Date: Fri May 8 04:10:42 2009
New Revision: 38583
URL: https://trac.parrot.org/parrot/changeset/38583
Log:
lots of organizing of splint flags
Modified:
trunk/config/gen/makefiles/root.in
Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in Fri May 8 03:22:08 2009 (r38582)
+++ trunk/config/gen/makefiles/root.in Fri May 8 04:10:42 2009 (r38583)
@@ -1948,14 +1948,13 @@
\
-show-summary \
+show-scan \
- +time-dist
-
-# Watch for naming conflicts, but don't complain about str*() functions
-SPLINTFLAGS := $(SPLINTFLAGS) \
+ +time-dist \
+ \
+ansi-reserved \
+ansi-reserved-internal \
-iso-reserved \
- -iso-reserved-internal
+ -iso-reserved-internal \
+ -include-nest 10
# Memory safety checks
SPLINTFLAGS := $(SPLINTFLAGS) \
@@ -1991,84 +1990,53 @@
+nullptrarith \
+ptr-negate
-# Check on consistency of defs
+# Symbol definitions
SPLINTFLAGS := $(SPLINTFLAGS) \
+ +decl-undef \
+incon-defs \
+incon-defs-lib \
-# The rest of the flags to be organized.
+# Check for conflicts with C++ compilers
SPLINTFLAGS := $(SPLINTFLAGS) \
- +char-index \
+cpp-names \
- +decl-undef \
+
+# Format codes
+SPLINTFLAGS := $(SPLINTFLAGS) \
+ +format-code \
+ +format-type \
+
+# Problems with evaluation and control structions
+SPLINTFLAGS := $(SPLINTFLAGS) \
+ +controlnestdepth 15 \
+duplicate-case \
- +enum-members \
+eval-order \
+eval-order-uncon \
- +format-code \
- +format-type \
+
+# Types and stuff
+SPLINTFLAGS := $(SPLINTFLAGS) \
+ +enum-members \
+ignore-signs \
- +match-fields \
- +null \
- +nullret \
- +strict-destroy \
- \
- +use-released \
- +strict-use-released \
- -abstract \
+
+# TODO: Miscellaneous other flags
+SPLINTFLAGS := $(SPLINTFLAGS) \
+aliasunique \
+assignexpose \
- -casebreak \
- -castfcnptr \
- -charint \
+continuecomment \
- +controlnestdepth 15 \
- -exportlocal \
- -fcnuse \
+fielduse \
- -globs \
- +imptype \
- -initallelements \
+longintegral \
+matchanyintegral \
+ +match-fields \
+nestedextern \
- -noeffect \
- -paramuse \
- +ptrnegate \
+ +null \
+ +nullret \
+ +paramuse \
+readonlystrings \
- -redef \
- -retvalint \
- -retvalother \
+shadow \
- -shiftimplementation \
- -shiftnegative \
- -showsourceloc \
- -type \
- \
- -branchstate \
- -compdef \
- -compdestroy \
- -compmempass \
- -globstate \
- -mustfreefresh \
- -mustfreeonly \
- -nullstate \
- -redecl \
- -retalias \
- \
- -immediatetrans \
- -kepttrans \
- -observertrans \
- -onlytrans \
- -readonlytrans \
- -statictrans \
- -temptrans \
- -unqualifiedtrans \
-
+ +strict-destroy \
+ +strict-use-released \
+ +use-released \
# Other options we'd like to add back
-# +paramuse: As soon as we get SHIM()s in the ops
-# -includedepth 8 : Let's investigate why we do so many includes.
# +initallelements : Right now, the *.ops files don't initialize all
# values of the arrays
# +casebreak: Auto-generated ops have way too case fallthrus right now
@@ -2080,9 +2048,6 @@
# added to splint target to simplify experimentation,
# ex: make SPLINTFLAGS_TEST='-posixstrictlib +posixlib' splint
-# Don't complain about using pointers and ints as booleans
-SPLINTFLAGS_TEST := $(SPLINTFLAGS_TEST) -pred-bool
-
splint : $(PARROT)
$(MKPATH) $(SPLINT_TMP)
$(SPLINT) $(CC_INC) @cc_hasjit@ "-Isrc/pmc" "-Icompilers/ast" $(SPLINTFLAGS) $(SPLINTFLAGS_TEST) `echo $(O_FILES) | $(PERL) -pe @PQ at s/\.o/\.c/g at PQ@`
More information about the parrot-commits
mailing list