]> andersk Git - splint.git/blobdiff - test/tests2.5.out
splint now tried to define a symbol based on the current processor type.
[splint.git] / test / tests2.5.out
index 76c7b44bf938623cd31b85b4c5f93670f04dad17..c0ef24c9b7a017c2262e626dad85ddc5bd7cb218 100644 (file)
@@ -1,28 +1,53 @@
 
-Cannot find standard library: ansi.lcd
-     Check LARCH_PATH environment variable.
+Finished checking --- no warnings
 
-Finished LCLint checking --- no code errors found
-
-Cannot find standard library: ansi.lcd
-     Check LARCH_PATH environment variable.
 boolt.c: (in function test)
 boolt.c:7:16: Function test expects arg 1 to be pan_bool_t gets int: 2
 
-Finished LCLint checking --- 1 code error found, as expected
+Finished checking --- 1 code warning, as expected
 
-Cannot find standard library: ansi.lcd
-     Check LARCH_PATH environment variable.
 uconstants.c: (in function f)
 uconstants.c:2:16: Variable x0 declared but not used
 uconstants.c:3:21: Variable x1 declared but not used
 
-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.
 hoof.c: (in function main)
 hoof.c:12:16: Function init_arr expects arg 2 to be long int * gets int *: &j
-hoof.c:16:5: Unrecognized identifier: printf
 
-Finished LCLint checking --- 2 code errors found, expected 1
+Finished checking --- 1 code warning, as expected
+
+Finished checking --- no warnings
+
+Finished checking --- no warnings
+
+booltest.c: (in function f)
+booltest.c:8:7: Test expression for if not bool, type int: i
+booltest.c:9:12: Return value type int does not match declared type bool: i
+
+Finished checking --- 2 code warnings, as expected
+
+Finished checking --- no warnings
+
+booltest.c: (in function f)
+booltest.c:9:12: Return value type int does not match declared type bool: i
+
+Finished checking --- 1 code warning, as expected
+
+Finished checking --- no warnings
+
+Finished checking --- no warnings
+
+immutable.c: (in function immutable_create)
+immutable.c:7:6: Arrow access from possibly null pointer res: res->x
+   immutable.c:5:19: Storage res may become null
+immutable.c:8:10: Fresh storage returned as unqualified (should be only): res
+   immutable.c:5:54: Fresh storage res allocated
+
+Finished checking --- 2 code warnings, as expected
+
+impabsmodule.c: (in function isTwo)
+impabsmodule.c:10:7: Variable var used before definition
+impabsmodule.c:10:12: Variable var2 used before definition
+
+Finished checking --- 2 code warnings, as expected
This page took 0.036468 seconds and 4 git commands to generate.