decl.c:3:21: Structure struct tm declared with fields { int x; }, specified
with fields { int tm_sec; int tm_min; int tm_hour;, ... }
- load file ansi.lcd:961:1: Specification of struct tm
+ load file standard.lcd: Specification of struct tm
decl.c:3:17: Field tm_sec in specified corresponds to x in declaration
- load file ansi.lcd:637:1: Specification of tm_sec
+ load file standard.lcd: Specification of tm_sec
Finished checking --- 1 code warning, as expected
+Finished checking --- no warnings
+
+enumbool.c:1:16: Enumerator member false declared with inconsistent type:
+ enum { false, true }
+ load file standard.lcd: Specification of false: bool
+enumbool.c:1:27: Enumerator member true declared with inconsistent type:
+ enum { false, true }
+ load file standard.lcd: Specification of true: bool
enumbool.c:1:34: Member of boolean enumerated type definition does not match
- name set to represent TRUE or FALSE: false
+ name set to represent true or false: false
enumbool.c:1:34: Member of boolean enumerated type definition does not match
- name set to represent TRUE or FALSE: true
+ name set to represent true or false: true
-Finished checking --- 2 code warnings, as expected
-
-Finished checking --- no warnings
+Finished checking --- 4 code warnings, expected 2
Finished checking --- no warnings
extension.c:2:18: Parse Error: New function scope inside function. (For help on
- parse errors, see lclint -help parseerrors.)
+ parse errors, see splint -help parseerrors.)
*** Cannot continue.
Finished checking --- no warnings