]> andersk Git - splint.git/blobdiff - test/decl.out
splint now tried to define a symbol based on the current processor type.
[splint.git] / test / decl.out
index bb0b2b0be307bb41cc2b3cca19f6f54653d722b8..cf21fbbf62ed4ec4ce57e12ecae29eb935ff2079 100644 (file)
@@ -1,15 +1,10 @@
-gmake[3]: Entering directory `/tmp/LCLintDev/test'
 
-Cannot find standard library: ansi.lcd
-     Check LARCH_PATH environment variable.
 decl.c: (in function main)
 decl.c:7:3: Call to non-function (type [function (int) returns int] **): x
 decl.c:8:2: Path with no return in function declared to return int
 
-Finished LCLint checking --- 2 code errors found, as expected
+Finished checking --- 2 code warnings, as expected
 
-Cannot find standard library: ansi.lcd
-     Check LARCH_PATH environment variable.
 decl.c:3:5: Function main declared without parameter list
 decl.c: (in function main)
 decl.c:7:3: Call to non-function (type [function (int) returns int] **): x
@@ -17,13 +12,16 @@ decl.c:8:2: Path with no return in function declared to return int
 decl.c:1:5: Function test declared but not defined
 decl.c:1:5: Function test exported but not declared in header file
 
-Finished LCLint checking --- 5 code errors found, as expected
+Finished checking --- 5 code warnings, as expected
 
-Cannot find standard library: ansi.lcd
-     Check LARCH_PATH environment variable.
-Continuing without LCL init file: lclinit.lci
-Continuing without LSL init file: lslinit.lsi
-Unable to find CTrait.syms or CTrait.lsl.  Check LARCH_PATH environment
-variable.
-gmake[3]: *** [decl] Error 1
-gmake[3]: Leaving directory `/tmp/LCLintDev/test'
+decl2.c:3:6: Variable glob2 defined with inconsistent type (arrays and pointers
+                are not identical in variable declarations): int *
+   decl2.h:3:12: Previous declaration of glob2: int []
+decl2.c:4:5: Variable glob2 redefined
+   decl2.c:3:6: Previous definition of glob2
+decl2.c:6:6: Variable glob3 redeclared with inconsistent type: char
+   decl2.h:4:12: Previous declaration of glob3: int
+decl2.c:9:5: Variable glob redefined
+   decl2.c:8:5: Previous definition of glob
+
+Finished checking --- 4 code warnings, as expected
This page took 0.064266 seconds and 4 git commands to generate.