libs.c:20:9: Function exit expects arg 1 to be int gets char *: "hullo"
libs.c:21:3: Unreachable code: exit(i)
libs.c: (in function print)
+libs.c:29:3: Format string parameter to fprintf is not a compile-time constant:
+ s
+libs.c:30:3: Format string parameter to printf is not a compile-time constant:
+ s
+libs.c:31:3: Format string parameter to fprintf is not a compile-time constant:
+ s
libs.c:33:3: Assignment of int to char: c = fgetc(f)
libs.c:34:3: Assignment of int to char: c = getc(f)
libs.c: (in function main)
libs.c:55:3: Return value (type [function (int) returns void]) ignored:
signal(SIGHUP, l...
-Finished LCLint checking --- 15 code errors found, as expected
+Finished checking --- 18 code warnings, as expected
libs.c: (in function compare2)
libs.c:14:10: Observer storage returned without qualification: "ok"
libs.c:20:9: Function exit expects arg 1 to be int gets char *: "hullo"
libs.c:21:3: Unreachable code: exit(i)
libs.c: (in function print)
+libs.c:29:3: Format string parameter to fprintf is not a compile-time constant:
+ s
+libs.c:30:3: Format string parameter to printf is not a compile-time constant:
+ s
+libs.c:31:3: Format string parameter to fprintf is not a compile-time constant:
+ s
libs.c:33:3: Assignment of int to char: c = fgetc(f)
libs.c:34:3: Assignment of int to char: c = getc(f)
libs.c: (in function main)
libs.c:55:3: Return value (type [function (int) returns void]) ignored:
signal(SIGHUP, l...
-Finished LCLint checking --- 19 code errors found, as expected
+Finished checking --- 22 code warnings, as expected
libs.c: (in function compare2)
libs.c:14:10: Observer storage returned without qualification: "ok"
libs.c:20:9: Function exit expects arg 1 to be int gets char *: "hullo"
libs.c:21:3: Unreachable code: exit(i)
libs.c: (in function print)
+libs.c:29:3: Format string parameter to fprintf is not a compile-time constant:
+ s
libs.c:29:3: Undocumented modification of *f possible from call to fprintf:
fprintf(f, s)
+libs.c:30:3: Format string parameter to printf is not a compile-time constant:
+ s
+libs.c:31:3: Format string parameter to fprintf is not a compile-time constant:
+ s
libs.c:33:7: Undocumented modification of *f possible from call to fgetc:
fgetc(f)
libs.c:33:3: Assignment of int to char: c = fgetc(f)
libs.c:55:3: Return value (type [function (int) returns void]) ignored:
signal(SIGHUP, l...
-Finished LCLint checking --- 22 code errors found, as expected
+Finished checking --- 25 code warnings, as expected
libs.c: (in function compare2)
libs.c:14:10: Observer storage returned without qualification: "ok"
libs.c:20:9: Function exit expects arg 1 to be int gets char *: "hullo"
libs.c:21:3: Unreachable code: exit(i)
libs.c: (in function print)
+libs.c:29:3: Format string parameter to fprintf is not a compile-time constant:
+ s
libs.c:29:3: Undocumented modification of *f possible from call to fprintf:
fprintf(f, s)
libs.c:29:3: Return value (type int) ignored: fprintf(f, s)
+libs.c:30:3: Format string parameter to printf is not a compile-time constant:
+ s
libs.c:30:3: Called procedure printf may access global stdout
libs.c:30:3: Undocumented modification of *stdout possible from call to printf:
printf(s)
libs.c:30:3: Return value (type int) ignored: printf(s)
libs.c:31:12: Undocumented use of global stderr
+libs.c:31:3: Format string parameter to fprintf is not a compile-time constant:
+ s
libs.c:31:3: Undocumented modification of *stderr possible from call to
fprintf: fprintf(stderr, s)
libs.c:31:3: Return value (type int) ignored: fprintf(stderr, s)
libs.c:33:7: Undocumented modification of errno possible from call to fgetc:
fgetc(f)
libs.c:33:3: Assignment of int to char: c = fgetc(f)
+libs.c:34:7: Called procedure getc may access global errno
libs.c:34:7: Undocumented modification of *f possible from call to getc:
getc(f)
+libs.c:34:7: Undocumented modification of errno possible from call to getc:
+ getc(f)
libs.c:34:3: Assignment of int to char: c = getc(f)
libs.c: (in function main)
libs.c:46:44: Function bsearch expects arg 4 to be size_t gets [function (int,
libs.c:55:3: Return value (type [function (int) returns void]) ignored:
signal(SIGHUP, l...
-Finished LCLint checking --- 39 code errors found, as expected
+Finished checking --- 44 code warnings, as expected