2022-06-29 16:43 ftp://ftp.de.debian.org/debian/pool/main/m/m4/m4_1.4.18.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 06b408e (2022-06-29 13:43:17 +0200) count: 245 245 elapsed-time: 29.6 35.5 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: m4-1.4.18/lib/xalloc.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] m4-1.4.18/lib/binary-io.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] m4-1.4.18/lib/c-ctype.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] m4-1.4.18/lib/c-stack.c:125:3: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] m4-1.4.18/lib/canonicalize-lgpl.c:168:12: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] m4-1.4.18/lib/canonicalize-lgpl.c:335:23: style: Condition 'pfxlen' is always false [knownConditionTrueFalse] m4-1.4.18/lib/canonicalize-lgpl.c:333:35: note: Assignment 'pfxlen=0', assigned value is 0 m4-1.4.18/lib/canonicalize-lgpl.c:335:23: note: Condition 'pfxlen' is always false m4-1.4.18/lib/closein.c:91:47: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] m4-1.4.18/lib/dirname-lgpl.c:38:35: style: Condition 'prefix_length!=0' is always false [knownConditionTrueFalse] m4-1.4.18/lib/dirname-lgpl.c:34:26: note: Assignment 'prefix_length=0', assigned value is 0 m4-1.4.18/lib/dirname-lgpl.c:38:35: note: Condition 'prefix_length!=0' is always false m4-1.4.18/lib/error.c:138:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] m4-1.4.18/lib/sig-handler.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] m4-1.4.18/lib/execute.c:214:29: style: Variable 'actions_allocated' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/lib/execute.c:211:21: note: actions_allocated is assigned m4-1.4.18/lib/execute.c:214:29: note: actions_allocated is overwritten m4-1.4.18/lib/execute.c:235:39: style: Variable 'attrs_allocated' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/lib/execute.c:212:19: note: attrs_allocated is assigned m4-1.4.18/lib/execute.c:235:39: note: attrs_allocated is overwritten m4-1.4.18/lib/filenamecat-lgpl.c:61:49: style:inconclusive: Function 'mfile_name_concat' argument 2 names different: declaration 'base' definition 'abase'. [funcArgNamesDifferent] m4-1.4.18/lib/filenamecat.h:26:55: note: Function 'mfile_name_concat' argument 2 names different: declaration 'base' definition 'abase'. m4-1.4.18/lib/filenamecat-lgpl.c:61:49: note: Function 'mfile_name_concat' argument 2 names different: declaration 'base' definition 'abase'. m4-1.4.18/lib/fpending.c:57:0: error: #error "Please port gnulib fpending.c to your platform!" [preprocessorErrorDirective] m4-1.4.18/lib/fpurge.c:143:0: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] m4-1.4.18/lib/freadahead.c:92:0: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] m4-1.4.18/lib/freading.c:71:0: error: #error "Please port gnulib freading.c to your platform!" [preprocessorErrorDirective] m4-1.4.18/lib/fseeko.c:110:0: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] m4-1.4.18/lib/getopt1.c:48:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:124:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. m4-1.4.18/lib/getopt1.c:48:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. m4-1.4.18/lib/getopt1.c:48:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:124:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. m4-1.4.18/lib/getopt1.c:48:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. m4-1.4.18/lib/getopt1.c:48:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:125:40: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. m4-1.4.18/lib/getopt1.c:48:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. m4-1.4.18/lib/getopt1.c:49:38: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:126:49: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. m4-1.4.18/lib/getopt1.c:49:38: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. m4-1.4.18/lib/getopt1.c:49:57: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:126:66: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. m4-1.4.18/lib/getopt1.c:49:57: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. m4-1.4.18/lib/getopt1.c:50:38: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:127:49: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. m4-1.4.18/lib/getopt1.c:50:38: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. m4-1.4.18/lib/getopt1.c:71:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:129:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. m4-1.4.18/lib/getopt1.c:71:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. m4-1.4.18/lib/getopt1.c:71:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:129:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. m4-1.4.18/lib/getopt1.c:71:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. m4-1.4.18/lib/getopt1.c:71:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:130:45: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. m4-1.4.18/lib/getopt1.c:71:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. m4-1.4.18/lib/getopt1.c:72:43: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:131:54: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. m4-1.4.18/lib/getopt1.c:72:43: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. m4-1.4.18/lib/getopt1.c:72:62: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:132:38: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. m4-1.4.18/lib/getopt1.c:72:62: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. m4-1.4.18/lib/getopt1.c:73:43: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:133:54: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. m4-1.4.18/lib/getopt1.c:73:43: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. m4-1.4.18/lib/getopt.c:346:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:118:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. m4-1.4.18/lib/getopt.c:346:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. m4-1.4.18/lib/getopt.c:346:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:118:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. m4-1.4.18/lib/getopt.c:346:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. m4-1.4.18/lib/getopt.c:346:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:119:44: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. m4-1.4.18/lib/getopt.c:346:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. m4-1.4.18/lib/getopt.c:347:42: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:120:53: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. m4-1.4.18/lib/getopt.c:347:42: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. m4-1.4.18/lib/getopt.c:347:57: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:120:70: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. m4-1.4.18/lib/getopt.c:347:57: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. m4-1.4.18/lib/getopt.c:348:25: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:121:36: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. m4-1.4.18/lib/getopt.c:348:25: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. m4-1.4.18/lib/getopt.c:348:57: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:121:70: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. m4-1.4.18/lib/getopt.c:348:57: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. m4-1.4.18/lib/getopt.c:348:64: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:122:36: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. m4-1.4.18/lib/getopt.c:348:64: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. m4-1.4.18/lib/getprogname.c:147:0: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] m4-1.4.18/lib/getopt.c:1158:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:24:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. m4-1.4.18/lib/getopt.c:1158:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. m4-1.4.18/lib/getopt.c:1158:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:24:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. m4-1.4.18/lib/getopt.c:1158:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. m4-1.4.18/lib/getopt.c:1158:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:25:42: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. m4-1.4.18/lib/getopt.c:1158:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. m4-1.4.18/lib/getopt.c:1159:40: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:26:51: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. m4-1.4.18/lib/getopt.c:1159:40: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. m4-1.4.18/lib/getopt.c:1159:55: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:26:68: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. m4-1.4.18/lib/getopt.c:1159:55: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. m4-1.4.18/lib/getopt.c:1159:68: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:27:34: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. m4-1.4.18/lib/getopt.c:1159:68: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. m4-1.4.18/lib/getopt.c:1160:23: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] m4-1.4.18/lib/getopt_int.h:27:51: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. m4-1.4.18/lib/getopt.c:1160:23: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. m4-1.4.18/lib/gettimeofday.c:143:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] m4-1.4.18/lib/gl_oset.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] m4-1.4.18/lib/gl_list.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] m4-1.4.18/lib/isnan.c:80:24: style: union member 'memory_double::value' is never used. [unusedStructMember] m4-1.4.18/lib/isnan.c:80:44: style: union member 'memory_double::word' is never used. [unusedStructMember] m4-1.4.18/lib/localcharset.c:473:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] m4-1.4.18/lib/localcharset.c:464:24: note: Assignment 'locale=NULL', assigned value is 0 m4-1.4.18/lib/localcharset.c:473:14: note: Condition 'locale==NULL' is always true m4-1.4.18/lib/obstack.c:139:35: error: Pointer addition with NULL pointer. [nullPointerArithmetic] m4-1.4.18/lib/obstack.c:209:5: error: Pointer addition with NULL pointer. [nullPointerArithmetic] m4-1.4.18/lib/obstack.c:219:14: error: Pointer addition with NULL pointer. [nullPointerArithmetic] m4-1.4.18/lib/obstack.c:241:48: style: Parameter 'obj' can be declared as pointer to const [constParameter] m4-1.4.18/lib/xsize.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] m4-1.4.18/lib/rawmemchr.c:132:12: style: Variable 'char_ptr' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/lib/rawmemchr.c:123:12: note: char_ptr is assigned m4-1.4.18/lib/rawmemchr.c:132:12: note: char_ptr is overwritten m4-1.4.18/lib/regcomp.c:138:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] m4-1.4.18/lib/regex_internal.h:206:0: error: #error "Add case for new bitset_word_t size" [preprocessorErrorDirective] m4-1.4.18/lib/regexec.c:1439:37: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] m4-1.4.18/lib/regexec.c:3358:42: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] m4-1.4.18/lib/regexec.c:3405:7: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] m4-1.4.18/lib/regexec.c:1697:11: style: Condition '!naccepted' is always true [knownConditionTrueFalse] m4-1.4.18/lib/regexec.c:1681:23: note: Assignment 'naccepted=0', assigned value is 0 m4-1.4.18/lib/regexec.c:1697:11: note: Condition '!naccepted' is always true m4-1.4.18/lib/regexec.c:3121:11: style: Condition 'naccepted' is always false [knownConditionTrueFalse] m4-1.4.18/lib/regexec.c:3076:23: note: Assignment 'naccepted=0', assigned value is 0 m4-1.4.18/lib/regexec.c:3121:11: note: Condition 'naccepted' is always false m4-1.4.18/lib/rename.c:466:2: style: Label 'out' is not used. [unusedLabel] m4-1.4.18/lib/sigaction.c:55:0: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] m4-1.4.18/lib/spawn-pipe.c:372:7: style: The if condition is the same as the previous if condition [duplicateCondition] m4-1.4.18/lib/spawn-pipe.c:369:7: note: First condition m4-1.4.18/lib/spawn-pipe.c:372:7: note: Second condition m4-1.4.18/lib/spawn-pipe.c:282:29: style: Variable 'actions_allocated' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/lib/spawn-pipe.c:279:21: note: actions_allocated is assigned m4-1.4.18/lib/spawn-pipe.c:282:29: note: actions_allocated is overwritten m4-1.4.18/lib/spawn-pipe.c:325:39: style: Variable 'attrs_allocated' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/lib/spawn-pipe.c:280:19: note: attrs_allocated is assigned m4-1.4.18/lib/spawn-pipe.c:325:39: note: attrs_allocated is overwritten m4-1.4.18/lib/spawni.c:121:33: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] m4-1.4.18/lib/spawni.c:323:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] m4-1.4.18/lib/spawni.c:139:35: style:inconclusive: Function 'gl_posix_spawn_internal' argument 2 names different: declaration 'path' definition 'file'. [funcArgNamesDifferent] m4-1.4.18/lib/spawn_int.h:59:46: note: Function 'gl_posix_spawn_internal' argument 2 names different: declaration 'path' definition 'file'. m4-1.4.18/lib/spawni.c:139:35: note: Function 'gl_posix_spawn_internal' argument 2 names different: declaration 'path' definition 'file'. m4-1.4.18/lib/strchrnul.c:138:12: style: Variable 'char_ptr' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/lib/strchrnul.c:129:12: note: char_ptr is assigned m4-1.4.18/lib/strchrnul.c:138:12: note: char_ptr is overwritten m4-1.4.18/lib/strerror.c:45:7: style: Condition 'msg' is always false [knownConditionTrueFalse] m4-1.4.18/lib/strerror.c:44:21: note: Assignment 'msg=NULL', assigned value is 0 m4-1.4.18/lib/strerror.c:45:7: note: Condition 'msg' is always false m4-1.4.18/lib/tempname.c:189:10: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] m4-1.4.18/lib/verror.c:43:13: style:inconclusive: Function 'verror' argument 1 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:34:25: note: Function 'verror' argument 1 names different: declaration '__status' definition 'status'. m4-1.4.18/lib/verror.c:43:13: note: Function 'verror' argument 1 names different: declaration '__status' definition 'status'. m4-1.4.18/lib/verror.c:43:25: style:inconclusive: Function 'verror' argument 2 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:34:39: note: Function 'verror' argument 2 names different: declaration '__errnum' definition 'errnum'. m4-1.4.18/lib/verror.c:43:25: note: Function 'verror' argument 2 names different: declaration '__errnum' definition 'errnum'. m4-1.4.18/lib/verror.c:43:45: style:inconclusive: Function 'verror' argument 3 names different: declaration '__format' definition 'format'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:34:61: note: Function 'verror' argument 3 names different: declaration '__format' definition 'format'. m4-1.4.18/lib/verror.c:43:45: note: Function 'verror' argument 3 names different: declaration '__format' definition 'format'. m4-1.4.18/lib/verror.c:43:61: style:inconclusive: Function 'verror' argument 4 names different: declaration '__args' definition 'args'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:35:29: note: Function 'verror' argument 4 names different: declaration '__args' definition 'args'. m4-1.4.18/lib/verror.c:43:61: note: Function 'verror' argument 4 names different: declaration '__args' definition 'args'. m4-1.4.18/lib/verror.c:55:21: style:inconclusive: Function 'verror_at_line' argument 1 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:45:33: note: Function 'verror_at_line' argument 1 names different: declaration '__status' definition 'status'. m4-1.4.18/lib/verror.c:55:21: note: Function 'verror_at_line' argument 1 names different: declaration '__status' definition 'status'. m4-1.4.18/lib/verror.c:55:33: style:inconclusive: Function 'verror_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:45:47: note: Function 'verror_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. m4-1.4.18/lib/verror.c:55:33: note: Function 'verror_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. m4-1.4.18/lib/verror.c:55:53: style:inconclusive: Function 'verror_at_line' argument 3 names different: declaration '__fname' definition 'file'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:45:69: note: Function 'verror_at_line' argument 3 names different: declaration '__fname' definition 'file'. m4-1.4.18/lib/verror.c:55:53: note: Function 'verror_at_line' argument 3 names different: declaration '__fname' definition 'file'. m4-1.4.18/lib/verror.c:56:30: style:inconclusive: Function 'verror_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:46:42: note: Function 'verror_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. m4-1.4.18/lib/verror.c:56:30: note: Function 'verror_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. m4-1.4.18/lib/verror.c:56:55: style:inconclusive: Function 'verror_at_line' argument 5 names different: declaration '__format' definition 'format'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:46:64: note: Function 'verror_at_line' argument 5 names different: declaration '__format' definition 'format'. m4-1.4.18/lib/verror.c:56:55: note: Function 'verror_at_line' argument 5 names different: declaration '__format' definition 'format'. m4-1.4.18/lib/verror.c:56:71: style:inconclusive: Function 'verror_at_line' argument 6 names different: declaration '__args' definition 'args'. [funcArgNamesDifferent] m4-1.4.18/lib/verror.h:47:37: note: Function 'verror_at_line' argument 6 names different: declaration '__args' definition 'args'. m4-1.4.18/lib/verror.c:56:71: note: Function 'verror_at_line' argument 6 names different: declaration '__args' definition 'args'. m4-1.4.18/src/debug.c:190:10: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] m4-1.4.18/src/builtin.c:684:38: warning:inconclusive: Either the condition 'result==NULL' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] m4-1.4.18/src/builtin.c:663:17: note: Assuming that condition 'result==NULL' is not redundant m4-1.4.18/src/builtin.c:684:38: note: Null pointer dereference m4-1.4.18/src/builtin.c:1049:15: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] m4-1.4.18/src/builtin.c:178:37: style: Parameter 'func' can be declared as pointer to const [constParameter] m4-1.4.18/src/builtin.c:1595:31: style: Parameter 'data' can be declared as pointer to const [constParameter] m4-1.4.18/src/path.c:72:23: warning: Either the condition 'path_end' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] m4-1.4.18/src/path.c:69:11: note: Assuming that condition 'path_end' is not redundant m4-1.4.18/src/path.c:72:23: note: Null pointer addition m4-1.4.18/tests/link.c:146:0: error: #error "This platform lacks a link function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] m4-1.4.18/tests/sleep.c:74:0: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] m4-1.4.18/tests/test-alignof.c:29:23: style: struct member 'struct1::a' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:30:23: style: struct member 'struct2::a' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:31:23: style: struct member 'struct3::a' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:32:23: style: struct member 'struct4::a' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:40:1: style: struct member 'char_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:40:1: style: struct member 'char_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:41:1: style: struct member 'short_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:41:1: style: struct member 'short_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:42:1: style: struct member 'int_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:42:1: style: struct member 'int_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:43:1: style: struct member 'long_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:43:1: style: struct member 'long_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:44:1: style: struct member 'float_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:44:1: style: struct member 'float_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:45:1: style: struct member 'double_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:45:1: style: struct member 'double_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:46:1: style: struct member 'longdouble_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:46:1: style: struct member 'longdouble_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:48:1: style: struct member 'int64_t_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:48:1: style: struct member 'int64_t_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:50:1: style: struct member 'struct1_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:50:1: style: struct member 'struct1_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:51:1: style: struct member 'struct2_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:51:1: style: struct member 'struct2_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:52:1: style: struct member 'struct3_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:52:1: style: struct member 'struct3_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:53:1: style: struct member 'struct4_helper::slot1' is never used. [unusedStructMember] m4-1.4.18/tests/test-alignof.c:53:1: style: struct member 'struct4_helper::slot2' is never used. [unusedStructMember] m4-1.4.18/tests/test-canonicalize-lgpl.c:78:47: error: Null pointer dereference [nullPointer] m4-1.4.18/tests/test-cloexec.c:53:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] m4-1.4.18/tests/test-close.c:34:5: error: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-dup-safer.c:66:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] m4-1.4.18/tests/test-dup.c:34:5: error: Invalid dup() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-dup2.c:60:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] m4-1.4.18/tests/test-fclose.c:90:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-fcntl.c:60:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] m4-1.4.18/tests/test-fdopen.c:41:13: error: Return value of allocation function 'fdopen' is not stored. [leakReturnValNotUsed] m4-1.4.18/tests/test-fflush2.c:53:9: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] m4-1.4.18/tests/test-fflush2.c:94:9: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] m4-1.4.18/tests/test-fflush.c:165:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-fflush.c:54:7: style: Condition '!f' is always false [knownConditionTrueFalse] m4-1.4.18/tests/test-fflush.c:57:11: style: Condition 'f' is always true [knownConditionTrueFalse] m4-1.4.18/tests/test-fgetc.c:69:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-fopen.h:37:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] m4-1.4.18/tests/test-fopen.h:47:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] m4-1.4.18/tests/test-fopen.h:52:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] m4-1.4.18/tests/test-fopen.h:58:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] m4-1.4.18/tests/test-fputc.c:61:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-fread.c:70:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-frexp.h:52:11: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-frexpl.c:73:3: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] m4-1.4.18/tests/test-fseeko4.c:50:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-fstat.c:37:5: error: Invalid fstat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-ftello4.c:47:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-fwrite.c:62:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-getopt.h:92:11: style: Redundant initialization for 'posixly'. The initialized value is overwritten before it is read. [redundantInitialization] m4-1.4.18/tests/test-getopt.h:86:16: note: posixly is initialized m4-1.4.18/tests/test-getopt.h:92:11: note: posixly is overwritten m4-1.4.18/tests/test-gettimeofday.c:38:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] m4-1.4.18/tests/test-ignore-value.c:34:16: style: struct member 's::i' is never used. [unusedStructMember] m4-1.4.18/tests/test-ignore-value.c:68:19: style: Variable 's1' is not assigned a value. [unassignedVariable] m4-1.4.18/tests/test-intprops.c:165:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] m4-1.4.18/tests/test-intprops.c:166:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] m4-1.4.18/tests/test-intprops.c:171:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] m4-1.4.18/tests/test-intprops.c:174:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] m4-1.4.18/tests/test-getopt_long.h:1586:9: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] m4-1.4.18/tests/test-getopt_long.h:1583:29: note: outer condition: non_options_count==2 m4-1.4.18/tests/test-getopt_long.h:1586:9: note: opposite inner condition: !(non_options_count==2) m4-1.4.18/tests/test-isnand.h:40:3: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-getopt_long.h:108:56: warning: Possible null pointer dereference: longopts [nullPointer] m4-1.4.18/tests/test-getopt_long.h:331:43: note: Calling function 'do_getopt_long', 4th argument 'NULL' value is 0 m4-1.4.18/tests/test-getopt_long.h:108:56: note: Null pointer dereference m4-1.4.18/tests/test-getopt.h:98:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:98:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:99:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:99:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:130:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:130:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:131:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:131:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:163:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:163:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:164:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:164:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:195:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:195:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:196:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:196:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:230:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:230:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:231:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:231:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:261:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:261:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:262:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:262:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:293:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:293:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:294:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:294:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:429:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:429:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:430:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:430:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:463:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:463:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:464:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:464:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:497:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:497:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:498:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:498:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:531:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:531:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:532:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:532:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:565:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:565:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:566:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:566:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:599:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:599:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:600:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:600:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:635:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:635:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:636:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:636:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:665:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:665:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:666:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:666:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:695:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:695:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:696:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:696:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:727:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:727:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:728:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:728:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:794:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:794:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:795:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:795:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:1198:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:19:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:1198:11: note: Shadow variable m4-1.4.18/tests/test-getopt.h:1199:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] m4-1.4.18/tests/test-getopt_long.h:20:12: note: Shadowed declaration m4-1.4.18/tests/test-getopt.h:1199:11: note: Shadow variable m4-1.4.18/tests/test-lseek.c:95:7: error: Invalid lseek() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-math.c:24:0: error: #error NAN should be defined [preprocessorErrorDirective] m4-1.4.18/tests/test-memchr.c:101:23: style: Condition 'page_boundary!=NULL' is always false [knownConditionTrueFalse] m4-1.4.18/tests/test-memchr.c:96:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 m4-1.4.18/tests/test-memchr.c:101:23: note: Condition 'page_boundary!=NULL' is always false m4-1.4.18/tests/test-memchr.c:52:3: error: Null pointer dereference [nullPointer] m4-1.4.18/tests/test-nl_langinfo.c:61:3: style: Unsigned expression 'strlen(nl_langinfo(THOUSEP))' can't be negative so it is unnecessary to test it. [unsignedPositive] m4-1.4.18/tests/test-nl_langinfo.c:107:3: style: Unsigned expression 'strlen(nl_langinfo(ERA))' can't be negative so it is unnecessary to test it. [unsignedPositive] m4-1.4.18/tests/test-nl_langinfo.c:108:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] m4-1.4.18/tests/test-nl_langinfo.c:109:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] m4-1.4.18/tests/test-nl_langinfo.c:110:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] m4-1.4.18/tests/test-nl_langinfo.c:115:5: style: Unsigned expression 'strlen(currency)' can't be negative so it is unnecessary to test it. [unsignedPositive] m4-1.4.18/tests/test-pipe2.c:52:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] m4-1.4.18/tests/test-posix_spawn2.c:87:29: style: Variable 'actions_allocated' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/tests/test-posix_spawn2.c:84:21: note: actions_allocated is assigned m4-1.4.18/tests/test-posix_spawn2.c:87:29: note: actions_allocated is overwritten m4-1.4.18/tests/test-posix_spawn2.c:92:31: style: Variable 'attrs_allocated' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/tests/test-posix_spawn2.c:85:19: note: attrs_allocated is assigned m4-1.4.18/tests/test-posix_spawn2.c:92:31: note: attrs_allocated is overwritten m4-1.4.18/tests/test-posix_spawn1.c:109:29: style: Variable 'actions_allocated' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/tests/test-posix_spawn1.c:106:21: note: actions_allocated is assigned m4-1.4.18/tests/test-posix_spawn1.c:109:29: note: actions_allocated is overwritten m4-1.4.18/tests/test-posix_spawn1.c:115:31: style: Variable 'attrs_allocated' is reassigned a value before the old one has been used. [redundantAssignment] m4-1.4.18/tests/test-posix_spawn1.c:107:19: note: attrs_allocated is assigned m4-1.4.18/tests/test-posix_spawn1.c:115:31: note: attrs_allocated is overwritten m4-1.4.18/tests/test-printf-frexpl.c:61:3: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] m4-1.4.18/tests/test-raise.c:49:3: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] m4-1.4.18/tests/test-rawmemchr.c:80:9: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] m4-1.4.18/tests/test-rawmemchr.c:77:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 m4-1.4.18/tests/test-rawmemchr.c:80:9: note: Condition '!page_boundary' is always true m4-1.4.18/tests/test-quotearg-simple.c:336:9: style: Condition 'z' is always false [knownConditionTrueFalse] m4-1.4.18/tests/test-quotearg-simple.c:334:28: note: Assignment 'z=zerosize_ptr()', assigned value is 0 m4-1.4.18/tests/test-quotearg-simple.c:336:9: note: Condition 'z' is always false m4-1.4.18/tests/test-regex.c:113:15: error: Memory pointed to by 'start' is freed twice. [doubleFree] m4-1.4.18/tests/test-regex.c:73:13: note: Memory pointed to by 'start' is freed twice. m4-1.4.18/tests/test-regex.c:113:15: note: Memory pointed to by 'start' is freed twice. m4-1.4.18/tests/test-regex.c:114:15: error: Memory pointed to by 'end' is freed twice. [doubleFree] m4-1.4.18/tests/test-regex.c:74:13: note: Memory pointed to by 'end' is freed twice. m4-1.4.18/tests/test-regex.c:114:15: note: Memory pointed to by 'end' is freed twice. m4-1.4.18/tests/test-regex.c:135:7: error: Memory pointed to by 'start' is freed twice. [doubleFree] m4-1.4.18/tests/test-regex.c:73:13: note: Memory pointed to by 'start' is freed twice. m4-1.4.18/tests/test-regex.c:135:7: note: Memory pointed to by 'start' is freed twice. m4-1.4.18/tests/test-regex.c:136:7: error: Memory pointed to by 'end' is freed twice. [doubleFree] m4-1.4.18/tests/test-regex.c:74:13: note: Memory pointed to by 'end' is freed twice. m4-1.4.18/tests/test-regex.c:136:7: note: Memory pointed to by 'end' is freed twice. m4-1.4.18/tests/test-rename.h:34:26: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] m4-1.4.18/tests/test-setlocale1.c:45:5: error: Memory leak: name1 [memleak] m4-1.4.18/tests/test-setlocale1.c:51:5: error: Memory leak: name1 [memleak] m4-1.4.18/tests/test-signbit.c:25:0: error: #error missing declaration [preprocessorErrorDirective] m4-1.4.18/tests/test-snprintf.c:53:20: style: The if condition is the same as the previous if condition [duplicateCondition] m4-1.4.18/tests/test-snprintf.c:47:20: note: First condition m4-1.4.18/tests/test-snprintf.c:53:20: note: Second condition m4-1.4.18/tests/test-spawn-pipe-child.c:63:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] m4-1.4.18/tests/test-stdalign.c:38:0: error: #error "alignof is not a macro" [preprocessorErrorDirective] m4-1.4.18/tests/test-stddef.c:38:8: style: struct member 'd::e' is never used. [unusedStructMember] m4-1.4.18/tests/test-stddef.c:39:8: style: struct member 'd::f' is never used. [unusedStructMember] m4-1.4.18/tests/test-strnlen.c:35:7: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] m4-1.4.18/tests/test-strnlen.c:34:25: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 m4-1.4.18/tests/test-strnlen.c:35:7: note: Condition '!page_boundary' is always true m4-1.4.18/tests/test-strstr.c:67:19: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] m4-1.4.18/tests/test-strstr.c:65:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 m4-1.4.18/tests/test-strstr.c:67:19: note: Condition 'page_boundary' is always false m4-1.4.18/tests/test-unsetenv.c:40:12: style: Variable 'entry[0]' is assigned a value that is never used. [unreadVariable] m4-1.4.18/tests/test-verify.c:55:13: style: Same expression on both sides of '=='. [duplicateExpression] m4-1.4.18/tests/test-verify.c:58:35: style: Same expression on both sides of '=='. [duplicateExpression] m4-1.4.18/tests/test-write.c:64:5: error: Invalid write() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] m4-1.4.18/tests/test-vasprintf-posix.c:211:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-vasprintf-posix.c:1025:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-vasprintf-posix.c:1118:43: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-vasprintf-posix.c:1619:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-vasprintf-posix.c:1652:43: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-vasprintf-posix.c:1997:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-vasprintf-posix.c:2108:43: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-vasprintf-posix.c:2747:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] m4-1.4.18/tests/test-vasprintf-posix.c:2851:43: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] diff: head m4-1.4.18/lib/obstack.c:241:48: style: Parameter 'obj' can be declared as pointer to const [constParameter] 2.8 m4-1.4.18/lib/obstack.c:241:48: style: Parameter 'obj' can be declared with const [constParameter] head m4-1.4.18/src/builtin.c:1595:31: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 m4-1.4.18/src/builtin.c:1595:31: style: Parameter 'data' can be declared with const [constParameter] head m4-1.4.18/src/builtin.c:178:37: style: Parameter 'func' can be declared as pointer to const [constParameter] 2.8 m4-1.4.18/src/builtin.c:178:37: style: Parameter 'func' can be declared with const [constParameter] DONE