Author: petdance
Date: Thu Jul  5 18:50:53 2007
New Revision: 19632

Modified:
   trunk/config/gen/makefiles/root.in
   trunk/config/gen/platform/generic/stat.c

Log:
Making the linting more stringent

Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in  (original)
+++ trunk/config/gen/makefiles/root.in  Thu Jul  5 18:50:53 2007
@@ -1701,21 +1701,27 @@
 
 # See http://docs.sun.com/source/806-3567/lint.html for flags
 SUNLINTFLAGS = \
-    -b \
-    -c \
     -F \
-    -n \
     -p \
+    \
     -Ncheck=%all \
     -Nlevel=4 \
-    -errchk=parentheses \
+    \
+    -errchk=%all \
     -errhdr=%all \
     -errtags \
+    -errchk=no%longptr64 \
+    -errfmt=simple \
     -erroff=E_BAD_PTR_CAST \
     -erroff=E_BAD_PTR_CAST_ALIGN \
     -erroff=E_LABEL_NOT_USED \
     -erroff=E_CONSTANT_CONDITION \
     -erroff=E_ARGUMENT_CONVERT \
+    -erroff=E_INCL_NUSD \
+    \
+    -erroff=E_FUNC_ARG_UNUSED \
+    -erroff=E_STMT_NOT_REACHED \
+    -erroff=E_CASE_FALLTHRU \
 
 sunlint :
        rm -f *.ln

Modified: trunk/config/gen/platform/generic/stat.c
==============================================================================
--- trunk/config/gen/platform/generic/stat.c    (original)
+++ trunk/config/gen/platform/generic/stat.c    Thu Jul  5 18:50:53 2007
@@ -115,7 +115,7 @@
 FLOATVAL
 Parrot_stat_info_floatval(Interp* interp, STRING *filename, INTVAL thing)
 {
-    return -1;
+    return (FLOATVAL)-1;
 }
 
 STRING *

Reply via email to