2022-06-28 22:37 ftp://ftp.de.debian.org/debian/pool/main/k/kbuild/kbuild_0.1.9998svn3564+dfsg.orig.tar.gz 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: 1852944 (2022-06-28 22:52:35 +0200) count: 1120 1118 elapsed-time: 46.2 52.2 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: kbuild-3564/src/fastdep/avl.c:31:0: error: #error message("unknown compiler - inline keyword unknown!") [preprocessorErrorDirective] kbuild-3564/src/fastdep/fastdep.c:71:0: error: #error message("unknown compiler - inline keyword unknown!") [preprocessorErrorDirective] kbuild-3564/src/fastdep/os2fake-win.c:149:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] kbuild-3564/src/fastdep/os2fake-win.c:153:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] kbuild-3564/src/fastdep/os2fake-win.c:198:9: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] kbuild-3564/src/fastdep/os2fake-win.c:207:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] kbuild-3564/src/fastdep/os2fake-win.c:213:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] kbuild-3564/src/fastdep/os2fake-win.c:256:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] kbuild-3564/src/fastdep/os2fake-win.c:143:24: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] kbuild-3564/src/fastdep/os2fake-win.c:137:28: note: rc is assigned kbuild-3564/src/fastdep/os2fake-win.c:143:24: note: rc is overwritten kbuild-3564/src/grep/gnulib-tests/vasnprintf.h:61:15: error: There is an unknown macro here somewhere. Configuration is required. If asnprintf is a macro then please configure it. [unknownMacro] kbuild-3564/src/grep/gnulib-tests/gettimeofday.c:143:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/inet_pton.c:152:16: error: Uninitialized variable: tmp [uninitvar] kbuild-3564/src/grep/gnulib-tests/inet_pton.c:150:14: note: Assuming condition is false kbuild-3564/src/grep/gnulib-tests/inet_pton.c:152:16: note: Uninitialized variable: tmp kbuild-3564/src/grep/gnulib-tests/sig-handler.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/localename.c:3213:63: style:inconclusive: Function 'gl_locale_name_thread' argument 2 names different: declaration 'categoryname' definition '_GL_UNUSED'. [funcArgNamesDifferent] kbuild-3564/src/grep/gnulib-tests/localename.h:50:70: note: Function 'gl_locale_name_thread' argument 2 names different: declaration 'categoryname' definition '_GL_UNUSED'. kbuild-3564/src/grep/gnulib-tests/localename.c:3213:63: note: Function 'gl_locale_name_thread' argument 2 names different: declaration 'categoryname' definition '_GL_UNUSED'. kbuild-3564/src/grep/gnulib-tests/localename.c:3237:62: style:inconclusive: Function 'gl_locale_name_posix' argument 2 names different: declaration 'categoryname' definition '_GL_UNUSED'. [funcArgNamesDifferent] kbuild-3564/src/grep/gnulib-tests/localename.h:64:69: note: Function 'gl_locale_name_posix' argument 2 names different: declaration 'categoryname' definition '_GL_UNUSED'. kbuild-3564/src/grep/gnulib-tests/localename.c:3237:62: note: Function 'gl_locale_name_posix' argument 2 names different: declaration 'categoryname' definition '_GL_UNUSED'. kbuild-3564/src/grep/gnulib-tests/localename.c:3302:38: style:inconclusive: Function 'gl_locale_name_environ' argument 1 names different: declaration 'category' definition '_GL_UNUSED'. [funcArgNamesDifferent] kbuild-3564/src/grep/gnulib-tests/localename.h:71:49: note: Function 'gl_locale_name_environ' argument 1 names different: declaration 'category' definition '_GL_UNUSED'. kbuild-3564/src/grep/gnulib-tests/localename.c:3302:38: note: Function 'gl_locale_name_environ' argument 1 names different: declaration 'category' definition '_GL_UNUSED'. kbuild-3564/src/grep/gnulib-tests/xsize.h:34:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/setlocale.c:60:0: error: #error "This file should only be compiled if NEED_SETLOCALE_IMPROVED || NEED_SETLOCALE_MTSAFE." [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/sigaction.c:55:0: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-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] kbuild-3564/src/grep/gnulib-tests/test-accept.c:42:5: error: Invalid accept() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:29:23: style: struct member 'struct1::a' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:30:23: style: struct member 'struct2::a' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:31:23: style: struct member 'struct3::a' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:32:23: style: struct member 'struct4::a' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:40:1: style: struct member 'char_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:40:1: style: struct member 'char_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:41:1: style: struct member 'short_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:41:1: style: struct member 'short_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:42:1: style: struct member 'int_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:42:1: style: struct member 'int_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:43:1: style: struct member 'long_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:43:1: style: struct member 'long_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:44:1: style: struct member 'float_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:44:1: style: struct member 'float_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:45:1: style: struct member 'double_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:45:1: style: struct member 'double_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:46:1: style: struct member 'longdouble_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:46:1: style: struct member 'longdouble_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:48:1: style: struct member 'int64_t_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:48:1: style: struct member 'int64_t_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:50:1: style: struct member 'struct1_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:50:1: style: struct member 'struct1_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:51:1: style: struct member 'struct2_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:51:1: style: struct member 'struct2_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:52:1: style: struct member 'struct3_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:52:1: style: struct member 'struct3_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:53:1: style: struct member 'struct4_helper::slot1' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-alignof.c:53:1: style: struct member 'struct4_helper::slot2' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-bind.c:46:7: error: Invalid bind() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-calloc-gnu.c:38:5: style: Opposite expression on both sides of '&='. [oppositeExpression] kbuild-3564/src/grep/gnulib-tests/test-cloexec.c:57:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/test-close.c:34:5: error: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-connect.c:46:7: error: Invalid connect() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-dfa-match-aux.c:70:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] kbuild-3564/src/grep/gnulib-tests/test-dup-safer.c:70:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/test-dup.c:34:5: error: Invalid dup() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-dup2.c:64:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/test-fcntl.c:64:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/test-fdopen.c:41:13: error: Return value of allocation function 'fdopen' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fdopendir.c:50:5: error: Invalid fdopendir() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-fdopendir.c:42:3: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fdopendir.c:50:5: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fdopendir.c:56:5: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fgetc.c:71:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:33:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:35:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:36:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:37:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:38:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:39:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:40:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:41:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:43:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:45:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:46:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:47:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:53:3: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:33:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:35:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:36:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:37:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:38:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:39:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:40:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:41:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:43:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:45:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:46:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:47:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fnmatch.c:53:3: style: Variable 'res' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-fopen.h:37:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fopen.h:47:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fopen.h:51:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fopen.h:56:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fopen.h:62:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fopen.h:66:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fopen.h:70:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fopen.h:74:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-fputc.c:63:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-fread.c:72:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-fstat.c:37:5: error: Invalid fstat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-ftruncate.c:30:23: style: Parameter 'argv' can be declared as const array [constParameter] kbuild-3564/src/grep/gnulib-tests/test-fstatat.c:82:5: error: Invalid fstatat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-fwrite.c:64:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-getopt.h:92:11: style: Redundant initialization for 'posixly'. The initialized value is overwritten before it is read. [redundantInitialization] kbuild-3564/src/grep/gnulib-tests/test-getopt.h:86:16: note: posixly is initialized kbuild-3564/src/grep/gnulib-tests/test-getopt.h:92:11: note: posixly is overwritten kbuild-3564/src/grep/gnulib-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] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:1586:9: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:1583:29: note: outer condition: non_options_count==2 kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:1586:9: note: opposite inner condition: !(non_options_count==2) kbuild-3564/src/grep/gnulib-tests/test-ignore-value.c:28:16: style: struct member 's::i' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-ignore-value.c:62:19: style: Variable 's1' is not assigned a value. [unassignedVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:108:56: warning: Possible null pointer dereference: longopts [nullPointer] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:331:43: note: Calling function 'do_getopt_long', 4th argument 'NULL' value is 0 kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:108:56: note: Null pointer dereference kbuild-3564/src/grep/gnulib-tests/test-getopt.h:98:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:98:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:99:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:99:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:130:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:130:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:131:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:131:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:163:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:163:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:164:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:164:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:195:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:195:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:196:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:196:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:230:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:230:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:231:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:231:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:261:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:261:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:262:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:262:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:293:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:293:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:294:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:294:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:429:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:429:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:430:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:430:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:463:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:463:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:464:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:464:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:497:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:497:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:498:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:498:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:531:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:531:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:532:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:532:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:565:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:565:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:566:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:566:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:599:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:599:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:600:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:600:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:635:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:635:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:636:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:636:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:665:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:665:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:666:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:666:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:695:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:695:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:696:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:696:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:727:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:727:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:728:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:728:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:794:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:794:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:795:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:795:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:1198:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:1198:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-getopt.h:1199:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] kbuild-3564/src/grep/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration kbuild-3564/src/grep/gnulib-tests/test-getopt.h:1199:11: note: Shadow variable kbuild-3564/src/grep/gnulib-tests/test-intprops.c:195:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] kbuild-3564/src/grep/gnulib-tests/test-intprops.c:196:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] kbuild-3564/src/grep/gnulib-tests/test-intprops.c:201:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] kbuild-3564/src/grep/gnulib-tests/test-intprops.c:204:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] kbuild-3564/src/grep/gnulib-tests/test-intprops.c:381:3: warning: Expression '-1' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] kbuild-3564/src/grep/gnulib-tests/test-isatty.c:46:5: error: Invalid isatty() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-listen.c:38:5: error: Invalid listen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-lseek.c:95:7: error: Invalid lseek() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-memchr2.c:52:7: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] kbuild-3564/src/grep/gnulib-tests/test-memchr2.c:51:38: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 kbuild-3564/src/grep/gnulib-tests/test-memchr2.c:52:7: note: Condition 'page_boundary' is always false kbuild-3564/src/grep/gnulib-tests/test-memchr.c:55:9: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] kbuild-3564/src/grep/gnulib-tests/test-memchr.c:54:40: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 kbuild-3564/src/grep/gnulib-tests/test-memchr.c:55:9: note: Condition 'page_boundary' is always false kbuild-3564/src/grep/gnulib-tests/test-memchr.c:106:23: style: Condition 'page_boundary!=NULL' is always false [knownConditionTrueFalse] kbuild-3564/src/grep/gnulib-tests/test-memchr.c:101:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 kbuild-3564/src/grep/gnulib-tests/test-memchr.c:106:23: note: Condition 'page_boundary!=NULL' is always false kbuild-3564/src/grep/gnulib-tests/test-memrchr.c:58:7: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] kbuild-3564/src/grep/gnulib-tests/test-memrchr.c:57:38: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 kbuild-3564/src/grep/gnulib-tests/test-memrchr.c:58:7: note: Condition 'page_boundary' is always false kbuild-3564/src/grep/gnulib-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] kbuild-3564/src/grep/gnulib-tests/test-nl_langinfo.c:133:3: style: Unsigned expression 'strlen(nl_langinfo(ERA))' can't be negative so it is unnecessary to test it. [unsignedPositive] kbuild-3564/src/grep/gnulib-tests/test-nl_langinfo.c:134:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] kbuild-3564/src/grep/gnulib-tests/test-nl_langinfo.c:135:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] kbuild-3564/src/grep/gnulib-tests/test-nl_langinfo.c:136:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] kbuild-3564/src/grep/gnulib-tests/test-nl_langinfo.c:141:5: style: Unsigned expression 'strlen(currency)' can't be negative so it is unnecessary to test it. [unsignedPositive] kbuild-3564/src/grep/gnulib-tests/test-openat-safer.c:81:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-openat-safer.c:84:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-openat-safer.c:87:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-openat-safer.c:92:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-openat-safer.c:97:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-openat-safer.c:108:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-openat.c:68:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-openat.c:74:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-openat.c:89:3: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-openat.c:95:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] kbuild-3564/src/grep/gnulib-tests/test-pipe.c:53:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/test-raise.c:50:3: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] kbuild-3564/src/grep/gnulib-tests/test-rawmemchr.c:80:9: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] kbuild-3564/src/grep/gnulib-tests/test-rawmemchr.c:77:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 kbuild-3564/src/grep/gnulib-tests/test-rawmemchr.c:80:9: note: Condition '!page_boundary' is always true kbuild-3564/src/grep/gnulib-tests/test-quotearg-simple.c:336:9: style: Condition 'z' is always false [knownConditionTrueFalse] kbuild-3564/src/grep/gnulib-tests/test-quotearg-simple.c:334:28: note: Assignment 'z=zerosize_ptr()', assigned value is 0 kbuild-3564/src/grep/gnulib-tests/test-quotearg-simple.c:336:9: note: Condition 'z' is always false kbuild-3564/src/grep/gnulib-tests/test-realloc-gnu.c:39:7: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] kbuild-3564/src/grep/gnulib-tests/test-read.c:58:5: error: Invalid read() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/grep/gnulib-tests/test-reallocarray.c:41:11: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] kbuild-3564/src/grep/gnulib-tests/test-reallocarray.c:46:7: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] kbuild-3564/src/grep/gnulib-tests/test-reallocarray.c:52:7: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] kbuild-3564/src/grep/gnulib-tests/test-reallocarray.c:53:7: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] kbuild-3564/src/grep/gnulib-tests/test-regex.c:263:45: style: Condition 'towupper(L'i')==0x0130' is always false [knownConditionTrueFalse] kbuild-3564/src/grep/gnulib-tests/test-regex.c:249:15: error: Memory pointed to by 'start' is freed twice. [doubleFree] kbuild-3564/src/grep/gnulib-tests/test-regex.c:212:13: note: Memory pointed to by 'start' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:249:15: note: Memory pointed to by 'start' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:250:15: error: Memory pointed to by 'end' is freed twice. [doubleFree] kbuild-3564/src/grep/gnulib-tests/test-regex.c:213:13: note: Memory pointed to by 'end' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:250:15: note: Memory pointed to by 'end' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:286:15: error: Memory pointed to by 'start' is freed twice. [doubleFree] kbuild-3564/src/grep/gnulib-tests/test-regex.c:212:13: note: Memory pointed to by 'start' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:286:15: note: Memory pointed to by 'start' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:287:15: error: Memory pointed to by 'end' is freed twice. [doubleFree] kbuild-3564/src/grep/gnulib-tests/test-regex.c:213:13: note: Memory pointed to by 'end' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:287:15: note: Memory pointed to by 'end' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:315:7: error: Memory pointed to by 'start' is freed twice. [doubleFree] kbuild-3564/src/grep/gnulib-tests/test-regex.c:212:13: note: Memory pointed to by 'start' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:315:7: note: Memory pointed to by 'start' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:316:7: error: Memory pointed to by 'end' is freed twice. [doubleFree] kbuild-3564/src/grep/gnulib-tests/test-regex.c:213:13: note: Memory pointed to by 'end' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-regex.c:316:7: note: Memory pointed to by 'end' is freed twice. kbuild-3564/src/grep/gnulib-tests/test-setlocale1.c:45:5: error: Memory leak: name1 [memleak] kbuild-3564/src/grep/gnulib-tests/test-setlocale1.c:51:5: error: Memory leak: name1 [memleak] kbuild-3564/src/grep/gnulib-tests/test-snprintf.c:53:20: style: The if condition is the same as the previous if condition [duplicateCondition] kbuild-3564/src/grep/gnulib-tests/test-snprintf.c:47:20: note: First condition kbuild-3564/src/grep/gnulib-tests/test-snprintf.c:53:20: note: Second condition kbuild-3564/src/grep/gnulib-tests/test-stdalign.c:38:0: error: #error "alignof is not a macro" [preprocessorErrorDirective] kbuild-3564/src/grep/gnulib-tests/test-stddef.c:39:8: style: struct member 'd::e' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-stddef.c:40:8: style: struct member 'd::f' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/test-stdint.c:371:1: error: syntax error: -) [syntaxError] kbuild-3564/src/grep/gnulib-tests/test-strnlen.c:35:7: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] kbuild-3564/src/grep/gnulib-tests/test-strnlen.c:34:25: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 kbuild-3564/src/grep/gnulib-tests/test-strnlen.c:35:7: note: Condition '!page_boundary' is always true kbuild-3564/src/grep/gnulib-tests/test-strstr.c:67:19: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] kbuild-3564/src/grep/gnulib-tests/test-strstr.c:65:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 kbuild-3564/src/grep/gnulib-tests/test-strstr.c:67:19: note: Condition 'page_boundary' is always false kbuild-3564/src/grep/gnulib-tests/test-thread_create.c:49:13: style: Variable 'ret' can be declared as pointer to const [constVariable] kbuild-3564/src/grep/gnulib-tests/test-thread_create.c:61:7: error: Uninitialized variable: ret [uninitvar] kbuild-3564/src/grep/gnulib-tests/test-thread_create.c:54:7: note: Assuming condition is false kbuild-3564/src/grep/gnulib-tests/test-thread_create.c:61:7: note: Uninitialized variable: ret kbuild-3564/src/grep/gnulib-tests/test-thread_create.c:49:13: style: Variable 'ret' is not assigned a value. [unassignedVariable] kbuild-3564/src/grep/gnulib-tests/test-unsetenv.c:40:12: style: Variable 'entry[0]' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/gnulib-tests/test-verify.c:57:13: style: Same expression on both sides of '=='. [duplicateExpression] kbuild-3564/src/grep/gnulib-tests/test-verify.c:60:35: style: Same expression on both sides of '=='. [duplicateExpression] kbuild-3564/src/grep/gnulib-tests/test-verify.c:75:31: style: struct member 'state::context' is never used. [unusedStructMember] kbuild-3564/src/grep/gnulib-tests/anytostr.c:41:11: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] kbuild-3564/src/grep/gnulib-tests/anytostr.c:41:9: style: Checking if unsigned expression 'i' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/openat.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/lib/binary-io.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/lib/bitrotate.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/lib/c-ctype.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/lib/chdir-long.c:33:0: error: #error "compile this file only if your system defines PATH_MAX" [preprocessorErrorDirective] kbuild-3564/src/grep/lib/xalloc.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/lib/error.c:142:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] kbuild-3564/src/grep/lib/mbchar.h:153:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/lib/cdefs.h:30:0: error: #error "You need a ISO C conforming compiler to use the glibc headers" [preprocessorErrorDirective] kbuild-3564/src/grep/lib/fpending.c:60:0: error: #error "Please port gnulib fpending.c to your platform!" [preprocessorErrorDirective] kbuild-3564/src/grep/lib/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. kbuild-3564/src/grep/lib/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. kbuild-3564/src/grep/lib/fnmatch_loop.c:1096:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/grep/lib/fnmatch_loop.c:1105:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/grep/lib/fnmatch_loop.c:1113:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/grep/lib/fnmatch_loop.c:1137:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/grep/lib/fnmatch_loop.c:1154:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/grep/lib/fnmatch_loop.c:1164:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/grep/lib/stat-time.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. kbuild-3564/src/grep/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. kbuild-3564/src/grep/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. kbuild-3564/src/grep/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. kbuild-3564/src/grep/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. kbuild-3564/src/grep/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. kbuild-3564/src/grep/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. kbuild-3564/src/grep/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. kbuild-3564/src/grep/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. kbuild-3564/src/grep/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. kbuild-3564/src/grep/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. kbuild-3564/src/grep/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. kbuild-3564/src/grep/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. kbuild-3564/src/grep/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. kbuild-3564/src/grep/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. kbuild-3564/src/grep/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. kbuild-3564/src/grep/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. kbuild-3564/src/grep/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. kbuild-3564/src/grep/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. kbuild-3564/src/grep/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. kbuild-3564/src/grep/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. kbuild-3564/src/grep/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. kbuild-3564/src/grep/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. kbuild-3564/src/grep/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. kbuild-3564/src/grep/lib/getopt.c:471:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. kbuild-3564/src/grep/lib/getopt.c:471:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. kbuild-3564/src/grep/lib/getopt.c:471:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. kbuild-3564/src/grep/lib/getopt.c:471:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. kbuild-3564/src/grep/lib/getopt.c:471:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. kbuild-3564/src/grep/lib/getopt.c:471:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. kbuild-3564/src/grep/lib/getopt.c:472:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. kbuild-3564/src/grep/lib/getopt.c:472:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. kbuild-3564/src/grep/lib/getopt.c:472:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. kbuild-3564/src/grep/lib/getopt.c:472:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. kbuild-3564/src/grep/lib/getopt.c:473:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. kbuild-3564/src/grep/lib/getopt.c:473:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. kbuild-3564/src/grep/lib/getopt.c:473:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. kbuild-3564/src/grep/lib/getopt.c:473:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. kbuild-3564/src/grep/lib/getopt.c:473:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. kbuild-3564/src/grep/lib/getopt.c:473:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. kbuild-3564/src/grep/lib/getopt.c:703:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. kbuild-3564/src/grep/lib/getopt.c:703:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. kbuild-3564/src/grep/lib/getopt.c:703:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. kbuild-3564/src/grep/lib/getopt.c:703:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. kbuild-3564/src/grep/lib/getopt.c:703:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. kbuild-3564/src/grep/lib/getopt.c:703:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. kbuild-3564/src/grep/lib/getopt.c:704:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. kbuild-3564/src/grep/lib/getopt.c:704:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. kbuild-3564/src/grep/lib/getopt.c:704:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. kbuild-3564/src/grep/lib/getopt.c:704:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. kbuild-3564/src/grep/lib/getopt.c:704:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. kbuild-3564/src/grep/lib/getopt.c:704:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. kbuild-3564/src/grep/lib/getopt.c:705:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. kbuild-3564/src/grep/lib/getopt.c:705:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. kbuild-3564/src/grep/lib/getprogname.c:291:0: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] kbuild-3564/src/grep/lib/ialloc.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] kbuild-3564/src/grep/lib/i-ring.c:25:30: style:inconclusive: Function 'i_ring_init' argument 2 names different: declaration 'ir_default_val' definition 'default_val'. [funcArgNamesDifferent] kbuild-3564/src/grep/lib/i-ring.h:41:35: note: Function 'i_ring_init' argument 2 names different: declaration 'ir_default_val' definition 'default_val'. kbuild-3564/src/grep/lib/i-ring.c:25:30: note: Function 'i_ring_init' argument 2 names different: declaration 'ir_default_val' definition 'default_val'. kbuild-3564/src/grep/lib/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] kbuild-3564/src/grep/lib/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 kbuild-3564/src/grep/lib/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true kbuild-3564/src/grep/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] kbuild-3564/src/grep/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] kbuild-3564/src/grep/lib/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/grep/lib/malloc/dynarray-skeleton.c:95:0: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] kbuild-3564/src/grep/lib/malloc/dynarray.h:171:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_proto is a macro then please configure it. [unknownMacro] kbuild-3564/src/grep/lib/obstack.c:138:35: error: Pointer addition with NULL pointer. [nullPointerArithmetic] kbuild-3564/src/grep/lib/obstack.c:208:5: error: Pointer addition with NULL pointer. [nullPointerArithmetic] kbuild-3564/src/grep/lib/obstack.c:218:14: error: Pointer addition with NULL pointer. [nullPointerArithmetic] kbuild-3564/src/grep/lib/obstack.c:240:48: style: Parameter 'obj' can be declared as pointer to const [constParameter] kbuild-3564/src/grep/lib/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] kbuild-3564/src/grep/lib/rawmemchr.c:135:12: style: Variable 'char_ptr' is reassigned a value before the old one has been used. [redundantAssignment] kbuild-3564/src/grep/lib/rawmemchr.c:126:12: note: char_ptr is assigned kbuild-3564/src/grep/lib/rawmemchr.c:135:12: note: char_ptr is overwritten kbuild-3564/src/grep/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] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression 'nmemb' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:(size))-1' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:(size))-1)<0)?~(((((1?0:(size))+1)<<((sizeof(size)*CHAR_BIT)-2))-1)*2+1):((1?0:(size))+0)' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:(nmemb))-1' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(size))+0))-1' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(size))+0))-1)<0)?~(((((1?0:((1?0:(size))+0))+1)<<((sizeof((1?0:(size))+0)*CHAR_BIT)-2))-1)*2+1):((1?0:((1?0:(size))+0))+0)' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(nmemb))+0))-1' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(nmemb))+0))-1)<0)?~(((((1?0:((1?0:(nmemb))+0))+1)<<((sizeof((1?0:(nmemb))+0)*CHAR_BIT)-2))-1)*2+1):((1?0:((1?0:(nmemb))+0))+0)' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '*(&nbytes)=((char)((unsigned int)(nmemb)*(unsigned int)(size)))' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Unsigned expression '*(&nbytes)=((char)((unsigned int)(nmemb)*(unsigned int)(size)))' can't be negative so it is unnecessary to test it. [unsignedPositive] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '*(&nbytes)=((short)((unsigned int)(nmemb)*(unsigned int)(size)))' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Unsigned expression '*(&nbytes)=((short)((unsigned int)(nmemb)*(unsigned int)(size)))' can't be negative so it is unnecessary to test it. [unsignedPositive] kbuild-3564/src/grep/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:(*(&nbytes)))-1' is less than zero. [unsignedLessThanZero] kbuild-3564/src/grep/lib/reallocarray.c:31:7: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] kbuild-3564/src/grep/lib/malloc/dynarray-skeleton.c:149:0: error: failed to expand 'DYNARRAY_FREE', Invalid ## usage when expanding 'DYNARRAY_CONCAT0': Unexpected token ')' [preprocessorErrorDirective] kbuild-3564/src/grep/lib/strerror.c:45:7: style: Condition 'msg' is always false [knownConditionTrueFalse] kbuild-3564/src/grep/lib/strerror.c:44:21: note: Assignment 'msg=NULL', assigned value is 0 kbuild-3564/src/grep/lib/strerror.c:45:7: note: Condition 'msg' is always false kbuild-3564/src/grep/lib/strtol.c:324:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] kbuild-3564/src/grep/lib/strtol.c:317:11: note: Assignment 'end=NULL', assigned value is 0 kbuild-3564/src/grep/lib/strtol.c:326:13: note: Assuming that condition 's==end' is not redundant kbuild-3564/src/grep/lib/strtol.c:298:10: note: Assignment 'save=s', assigned value is 0 kbuild-3564/src/grep/lib/strtol.c:298:8: note: save is assigned 's' here. kbuild-3564/src/grep/lib/strtol.c:324:13: note: Null pointer dereference kbuild-3564/src/grep/lib/xstrtol.c:86:20: error: Uninitialized variable: &t_ptr [uninitvar] kbuild-3564/src/grep/src/dfasearch.c:157:31: style:inconclusive: Boolean expression 'syntax_only' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/dfasearch.c:200:40: style:inconclusive: Boolean expression '!localeinfo.multibyte' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/dfasearch.c:411:45: style:inconclusive: Boolean expression '!localeinfo.multibyte' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/dfasearch.c:200:40: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/src/dfasearch.c:411:45: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/src/dfasearch.c:152:49: error: Uninitialized variable: &pat0 [uninitvar] kbuild-3564/src/grep/src/kwsearch.c:116:40: style:inconclusive: Boolean expression '!localeinfo.using_utf8' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/kwsearch.c:116:65: style:inconclusive: Boolean expression '!match_lines' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/kwsearch.c:117:28: style:inconclusive: Boolean expression 'mb_check' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/kwsearch.c:117:57: style:inconclusive: Boolean expression '!match_lines' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/kwsearch.c:150:23: style:inconclusive: Boolean expression '!!start_ptr' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/kwsearch.c:116:40: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/src/kwsearch.c:117:28: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/src/kwsearch.c:150:23: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/src/grep.c:745:54: style:inconclusive: Boolean expression 'devices==READ_COMMAND_LINE_DEVICES' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/grep.c:843:37: style:inconclusive: Boolean expression 'localeinfo.sbclen[i]!=1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/grep.c:1142:28: style:inconclusive: Boolean expression 'fillsize==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/grep.c:1322:42: style:inconclusive: Boolean expression 'out_byte' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/grep.c:1769:59: style:inconclusive: Boolean expression 'out_quiet' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/grep.c:3045:21: style:inconclusive: Boolean expression 'exit_on_match' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/grep.c:3047:22: style:inconclusive: Boolean expression 'exit_on_match' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/grep.c:3052:29: style:inconclusive: Boolean expression 'count_matches' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] kbuild-3564/src/grep/src/grep.c:745:54: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/src/grep.c:843:37: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/src/grep.c:1142:28: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/grep/src/grep.c:1103:30: style: Condition 'maxsize_off==(unsigned long)maxsize_off' is always true [knownConditionTrueFalse] kbuild-3564/src/grep/src/grep.c:1101:29: note: maxsize_off is assigned 'save+to_be_read' here. kbuild-3564/src/grep/src/grep.c:1103:30: note: Condition 'maxsize_off==(unsigned long)maxsize_off' is always true kbuild-3564/src/grep/src/grep.c:1164:22: warning: Uninitialized variable: fillsize [uninitvar] kbuild-3564/src/grep/src/grep.c:1132:10: note: Assuming condition is false kbuild-3564/src/grep/src/grep.c:1164:22: note: Uninitialized variable: fillsize kbuild-3564/src/grep/src/grep.c:2304:10: warning: Uninitialized variable: opt [uninitvar] kbuild-3564/src/grep/src/grep.c:2264:10: note: Assuming condition is false kbuild-3564/src/grep/src/grep.c:2304:10: note: Uninitialized variable: opt kbuild-3564/src/grep/src/kwset.c:818:45: warning: Either the condition '!tree' is redundant or there is possible null pointer dereference: tree. [nullPointerRedundantCheck] kbuild-3564/src/grep/src/kwset.c:821:23: note: Assuming that condition '!tree' is not redundant kbuild-3564/src/grep/src/kwset.c:818:45: note: Null pointer dereference kbuild-3564/src/grep/src/kwset.c:759:20: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] kbuild-3564/src/grep/src/kwset.c:904:11: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] kbuild-3564/src/kDepPre/kDepPre.c:460:15: style: Condition 'iExec>0' is always false [knownConditionTrueFalse] kbuild-3564/src/kDepPre/kDepPre.c:445:15: note: Assuming that condition 'iExec>0' is not redundant kbuild-3564/src/kDepPre/kDepPre.c:460:15: note: Condition 'iExec>0' is always false kbuild-3564/src/kDeDup/kDeDup.c:521:31: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/kDeDup/kDeDup.c:1099:25: warning: %lc in format string (no. 1) requires 'unsigned long' but the argument type is 'signed wchar_t'. [invalidPrintfArgType_uint] kbuild-3564/src/kDeDup/kDeDup.c:396:35: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] kbuild-3564/src/kLibTweaker/kLibTweaker.c:157:22: warning:inconclusive: Possible null pointer dereference: pszFormat [nullPointer] kbuild-3564/src/kLibTweaker/kLibTweaker.c:516:50: note: Calling function 'ErrorMsg', 1st argument '0' value is 0 kbuild-3564/src/kLibTweaker/kLibTweaker.c:157:22: note: Null pointer dereference kbuild-3564/src/kLibTweaker/kLibTweaker.c:267:25: warning: Either the condition '!psz' is redundant or there is possible null pointer dereference: psz. [nullPointerRedundantCheck] kbuild-3564/src/kLibTweaker/kLibTweaker.c:269:13: note: Assuming that condition '!psz' is not redundant kbuild-3564/src/kLibTweaker/kLibTweaker.c:267:25: note: Null pointer dereference kbuild-3564/src/kLibTweaker/kLibTweaker.c:296:25: warning: Either the condition '!psz' is redundant or there is possible null pointer dereference: psz. [nullPointerRedundantCheck] kbuild-3564/src/kLibTweaker/kLibTweaker.c:298:13: note: Assuming that condition '!psz' is not redundant kbuild-3564/src/kLibTweaker/kLibTweaker.c:296:25: note: Null pointer dereference kbuild-3564/src/kLibTweaker/kLibTweaker.c:96:17: style: struct member 'ARCHFILEHDR::achName' is never used. [unusedStructMember] kbuild-3564/src/kLibTweaker/kLibTweaker.c:98:17: style: struct member 'ARCHFILEHDR::achOwnerId' is never used. [unusedStructMember] kbuild-3564/src/kLibTweaker/kLibTweaker.c:99:17: style: struct member 'ARCHFILEHDR::achGroupId' is never used. [unusedStructMember] kbuild-3564/src/kLibTweaker/kLibTweaker.c:100:17: style: struct member 'ARCHFILEHDR::achMode' is never used. [unusedStructMember] kbuild-3564/src/kLibTweaker/kLibTweaker.c:184:9: style: Variable 'cch' is not assigned a value. [unassignedVariable] kbuild-3564/src/kObjCache/kObjCache.c:593:0: error: #error "Port me" [preprocessorErrorDirective] kbuild-3564/src/kash/bltin/kill.c:112:31: warning: Either the condition '!*argv' is redundant or there is possible null pointer dereference: *argv. [nullPointerRedundantCheck] kbuild-3564/src/kash/bltin/kill.c:117:8: note: Assuming that condition '!*argv' is not redundant kbuild-3564/src/kash/bltin/kill.c:112:31: note: Null pointer dereference kbuild-3564/src/kash/bltin/kill.c:115:38: warning: Either the condition '!*argv' is redundant or there is possible null pointer dereference: *argv. [nullPointerRedundantCheck] kbuild-3564/src/kash/bltin/kill.c:117:8: note: Assuming that condition '!*argv' is not redundant kbuild-3564/src/kash/bltin/kill.c:115:38: note: Null pointer dereference kbuild-3564/src/kWorker/kWorker.c:2168:44: style:inconclusive: Boolean expression 'paThunks[iThunk]-(KUPTR)pbProtRange>=cbPage' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] kbuild-3564/src/kWorker/kWorker.c:9432:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kWorker/kWorker.c:11522:30: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kWorker/kWorker.c:2168:44: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/kWorker/kWorker.c:13002:13: error: Memory leak: pszSpecialEnv [memleak] kbuild-3564/src/kWorker/kWorker.c:13004:13: error: Memory leak: pszSpecialEnv [memleak] kbuild-3564/src/kWorker/kWorker.c:2766:26: style: Local variable 'offIndex' shadows outer variable [shadowVariable] kbuild-3564/src/kWorker/kWorker.c:2754:37: note: Shadowed declaration kbuild-3564/src/kWorker/kWorker.c:2766:26: note: Shadow variable kbuild-3564/src/kWorker/kWorker.c:2767:26: style: Local variable 'offCallbacks' shadows outer variable [shadowVariable] kbuild-3564/src/kWorker/kWorker.c:2755:37: note: Shadowed declaration kbuild-3564/src/kWorker/kWorker.c:2767:26: note: Shadow variable kbuild-3564/src/kWorker/kWorker.c:2768:26: style: Local variable 'puCallbacks' shadows outer variable [shadowVariable] kbuild-3564/src/kWorker/kWorker.c:2756:37: note: Shadowed declaration kbuild-3564/src/kWorker/kWorker.c:2768:26: note: Shadow variable kbuild-3564/src/kWorker/kWorker.c:6334:18: style: Local variable 'i' shadows outer variable [shadowVariable] kbuild-3564/src/kWorker/kWorker.c:6309:11: note: Shadowed declaration kbuild-3564/src/kWorker/kWorker.c:6334:18: note: Shadow variable kbuild-3564/src/kWorker/kWorker.c:6352:41: style: Local variable 'rc' shadows outer variable [shadowVariable] kbuild-3564/src/kWorker/kWorker.c:6320:13: note: Shadowed declaration kbuild-3564/src/kWorker/kWorker.c:6352:41: note: Shadow variable kbuild-3564/src/kWorker/kWorker.c:6374:22: style: Local variable 'i' shadows outer variable [shadowVariable] kbuild-3564/src/kWorker/kWorker.c:6334:18: note: Shadowed declaration kbuild-3564/src/kWorker/kWorker.c:6374:22: note: Shadow variable kbuild-3564/src/kWorker/kWorker.c:9672:30: style: Local variable 'pTracker' shadows outer variable [shadowVariable] kbuild-3564/src/kWorker/kWorker.c:9661:26: note: Shadowed declaration kbuild-3564/src/kWorker/kWorker.c:9672:30: note: Shadow variable kbuild-3564/src/kWorker/kWorker.c:13068:19: style: Local variable 'pszFile' shadows outer argument [shadowArgument] kbuild-3564/src/kWorker/kWorker.c:13057:50: note: Shadowed declaration kbuild-3564/src/kWorker/kWorker.c:13068:19: note: Shadow variable kbuild-3564/src/kWorker/kWorker.c:13251:30: style: Local variable 'i' shadows outer variable [shadowVariable] kbuild-3564/src/kWorker/kWorker.c:13194:9: note: Shadowed declaration kbuild-3564/src/kWorker/kWorker.c:13251:30: note: Shadow variable kbuild-3564/src/kash/error.c:188:2: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] kbuild-3564/src/kash/error.c:200:2: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] kbuild-3564/src/kWorker/kWorker.c:4336:29: style: Variable 'pwszName' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kWorker/kWorker.c:4345:22: style: Variable 'pwszName' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kWorker/kWorker.c:5144:16: style: Variable 'cwcTmp' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kWorker/kWorker.c:6053:17: style: Variable 'dwErr' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kWorker/kWorker.c:6130:19: style: Variable 'dwErr' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kWorker/kWorker.c:6533:15: style: Variable 'i' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kWorker/kWorker.c:8532:27: style: Variable 'pvRet' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kWorker/kWorker.c:10386:31: style: Variable 'pvRet' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kWorker/kWorker.c:10387:31: style: Variable 'cbRet' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kWorker/kWorker.c:1506:1: error: va_list 'vaCopy' was opened but not closed by va_end(). [va_end_missing] kbuild-3564/src/kash/eval.c:1044:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] kbuild-3564/src/kash/eval.c:367:27: warning: Uninitialized variable: sp [uninitvar] kbuild-3564/src/kash/eval.c:359:29: note: Assuming condition is false kbuild-3564/src/kash/eval.c:367:19: note: Assignment 'sp=arglist.list', assigned value is kbuild-3564/src/kash/eval.c:367:27: note: Uninitialized variable: sp kbuild-3564/src/kash/eval.c:792:8: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kash/exec.c:689:8: style: Variable 'e' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kash/generated/arith.c:601:16: warning: Either the condition 'yyn<=418' is redundant or the array 'yylen[26]' is accessed at index 419, which is out of bounds. [arrayIndexOutOfBoundsCond] kbuild-3564/src/kash/generated/arith.c:723:17: note: Assuming that condition 'yyn<=418' is not redundant kbuild-3564/src/kash/generated/arith.c:601:16: note: Array index out of bounds kbuild-3564/src/kash/generated/arith.c:694:16: warning: Either the condition 'yyn<=418' is redundant or the array 'yylhs[26]' is accessed at index 419, which is out of bounds. [arrayIndexOutOfBoundsCond] kbuild-3564/src/kash/generated/arith.c:723:17: note: Assuming that condition 'yyn<=418' is not redundant kbuild-3564/src/kash/generated/arith.c:694:16: note: Array index out of bounds kbuild-3564/src/kash/expand.c:1410:22: style: Condition 'c!='*'' is always true [knownConditionTrueFalse] kbuild-3564/src/kash/expand.c:443:8: style: Variable 'lastc' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kash/expand.c:531:12: style: Variable 'varflags' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kash/expand.c:991:11: style: Variable 'inquotes' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kash/expand.c:1561:11: style: Variable 'temp[31]' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kash/expand.c:1582:11: style: Variable 'temp[31]' is assigned a value that is never used. [unreadVariable] /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1135:27: warning: Possible null pointer dereference: b [nullPointer] /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1132:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1135:27: note: Null pointer dereference /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1137:9: warning: Possible null pointer dereference: b [nullPointer] /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1132:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1137:9: note: Null pointer dereference /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1455:2: warning: Possible null pointer dereference: b [nullPointer] /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1348:17: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1455:2: note: Null pointer dereference /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1456:2: warning: Possible null pointer dereference: b [nullPointer] /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1348:17: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1456:2: note: Null pointer dereference /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1237:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:356:54: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1237:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. /Volumes/ScratchHFS/bird/kBuild/svn/trunk/out/darwin.x86/release/obj/kash/arith_lex.c:1166:16: style: Variable 'num_to_read' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kash/generated/nodes.c:315:19: style: Variable 'start' is not assigned a value. [unassignedVariable] kbuild-3564/src/kash/jobs.c:978:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] kbuild-3564/src/kash/jobs.c:1025:4: error: Address of local auto-variable assigned to a function parameter. [autoVariables] kbuild-3564/src/kash/memalloc.c:641:70: style: Parameter 'end' can be declared as pointer to const [constParameter] kbuild-3564/src/kash/main.c:200:2: error: Address of local auto-variable assigned to a function parameter. [autoVariables] kbuild-3564/src/kash/options.c:168:9: style: Variable 'off' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kash/output.c:488:17: style: Checking if unsigned expression 'n-=i' is less than zero. [unsignedLessThanZero] kbuild-3564/src/kash/output.c:408:22: warning: Either the condition 'num' is redundant or there is division by zero at line 408. [zerodivcond] kbuild-3564/src/kash/output.c:407:11: note: Assuming that condition 'num' is not redundant kbuild-3564/src/kash/output.c:409:12: note: Assignment to 'num/=base' kbuild-3564/src/kash/output.c:408:22: note: Division by zero kbuild-3564/src/kash/parser.c:1410:2: error: Address of local auto-variable assigned to a function parameter. [autoVariables] kbuild-3564/src/kash/parser.c:563:11: style: Redundant initialization for 'orig_rpp'. The initialized value is overwritten before it is read. [redundantInitialization] kbuild-3564/src/kash/parser.c:547:24: note: orig_rpp is initialized kbuild-3564/src/kash/parser.c:563:11: note: orig_rpp is overwritten kbuild-3564/src/kash/parser.c:1703:8: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] kbuild-3564/src/kash/parser.c:943:3: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 943. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:943:3: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:943:3: note: Shift kbuild-3564/src/kash/parser.c:996:28: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 996. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:996:28: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:996:28: note: Shift kbuild-3564/src/kash/parser.c:1015:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1015. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1015:9: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1015:9: note: Shift kbuild-3564/src/kash/parser.c:1062:10: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1062. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1062:10: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1062:10: note: Shift kbuild-3564/src/kash/parser.c:1064:7: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1064. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1064:7: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1064:7: note: Shift kbuild-3564/src/kash/parser.c:1067:7: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1067. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1067:7: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1067:7: note: Shift kbuild-3564/src/kash/parser.c:1074:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1074. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1074:9: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1074:9: note: Shift kbuild-3564/src/kash/parser.c:1078:6: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1078. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1078:6: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1078:6: note: Shift kbuild-3564/src/kash/parser.c:1081:6: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1081. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1081:6: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1081:6: note: Shift kbuild-3564/src/kash/parser.c:1089:25: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1089. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1089:25: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1089:25: note: Shift kbuild-3564/src/kash/parser.c:1110:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1110. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1110:9: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1110:9: note: Shift kbuild-3564/src/kash/parser.c:1112:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1112. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1112:9: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1112:9: note: Shift kbuild-3564/src/kash/parser.c:1358:7: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1358. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1358:7: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1358:7: note: Shift kbuild-3564/src/kash/parser.c:1514:17: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1514. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1514:17: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1514:17: note: Shift kbuild-3564/src/kash/parser.c:1533:7: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1533. [shiftTooManyBitsSigned] kbuild-3564/src/kash/parser.c:1533:7: note: Assuming that condition 'varnest<32' is not redundant kbuild-3564/src/kash/parser.c:1533:7: note: Shift kbuild-3564/src/kash/parser.c:943:3: warning: Either the condition 'varnest<32' is redundant or there is signed integer overflow for expression '1<>(FILE_TIMESTAMP_HI_RES?30:0)', assigned value is greater than -1 kbuild-3564/src/kmk/file.c:1123:14: note: Condition 't<0' is always false kbuild-3564/src/kmk/file.c:284:27: style:inconclusive: Function 'rehash_file' argument 1 names different: declaration 'file' definition 'from_file'. [funcArgNamesDifferent] kbuild-3564/src/kmk/filedef.h:149:32: note: Function 'rehash_file' argument 1 names different: declaration 'file' definition 'from_file'. kbuild-3564/src/kmk/file.c:284:27: note: Function 'rehash_file' argument 1 names different: declaration 'file' definition 'from_file'. kbuild-3564/src/kmk/file.c:284:50: style:inconclusive: Function 'rehash_file' argument 2 names different: declaration 'name' definition 'to_hname'. [funcArgNamesDifferent] kbuild-3564/src/kmk/filedef.h:149:50: note: Function 'rehash_file' argument 2 names different: declaration 'name' definition 'to_hname'. kbuild-3564/src/kmk/file.c:284:50: note: Function 'rehash_file' argument 2 names different: declaration 'name' definition 'to_hname'. kbuild-3564/src/kmk/file.c:463:27: style:inconclusive: Function 'rename_file' argument 1 names different: declaration 'file' definition 'from_file'. [funcArgNamesDifferent] kbuild-3564/src/kmk/filedef.h:148:32: note: Function 'rename_file' argument 1 names different: declaration 'file' definition 'from_file'. kbuild-3564/src/kmk/file.c:463:27: note: Function 'rename_file' argument 1 names different: declaration 'file' definition 'from_file'. kbuild-3564/src/kmk/file.c:463:50: style:inconclusive: Function 'rename_file' argument 2 names different: declaration 'name' definition 'to_hname'. [funcArgNamesDifferent] kbuild-3564/src/kmk/filedef.h:148:50: note: Function 'rename_file' argument 2 names different: declaration 'name' definition 'to_hname'. kbuild-3564/src/kmk/file.c:463:50: note: Function 'rename_file' argument 2 names different: declaration 'name' definition 'to_hname'. kbuild-3564/src/kmk/file.c:572:22: style:inconclusive: Function 'split_prereqs' argument 1 names different: declaration 'prereqstr' definition 'p'. [funcArgNamesDifferent] kbuild-3564/src/kmk/filedef.h:144:34: note: Function 'split_prereqs' argument 1 names different: declaration 'prereqstr' definition 'p'. kbuild-3564/src/kmk/file.c:572:22: note: Function 'split_prereqs' argument 1 names different: declaration 'prereqstr' definition 'p'. kbuild-3564/src/kmk/file.c:606:28: style:inconclusive: Function 'enter_prereqs' argument 1 names different: declaration 'prereqs' definition 'deps'. [funcArgNamesDifferent] kbuild-3564/src/kmk/filedef.h:145:40: note: Function 'enter_prereqs' argument 1 names different: declaration 'prereqs' definition 'deps'. kbuild-3564/src/kmk/file.c:606:28: note: Function 'enter_prereqs' argument 1 names different: declaration 'prereqs' definition 'deps'. kbuild-3564/src/kmk/file.c:1393:26: style:inconclusive: Function 'build_target_list' argument 1 names different: declaration 'old_list' definition 'value'. [funcArgNamesDifferent] kbuild-3564/src/kmk/filedef.h:154:32: note: Function 'build_target_list' argument 1 names different: declaration 'old_list' definition 'value'. kbuild-3564/src/kmk/file.c:1393:26: note: Function 'build_target_list' argument 1 names different: declaration 'old_list' definition 'value'. kbuild-3564/src/kmk/function.c:463:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/function.c:1602:31: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/function.c:1629:29: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/function.c:1759:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/function.c:2605:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/function.c:7885:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/function.c:8063:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/function.c:3174:51: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] kbuild-3564/src/kmk/function.c:3164:14: note: Assuming that condition 'fp==NULL' is not redundant kbuild-3564/src/kmk/function.c:3174:51: note: Null pointer dereference kbuild-3564/src/kmk/getloadavg.c:499:12: style: Variable 'elem' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/function.c:1578:18: style: Variable 'wordhead' is not assigned a value. [unassignedVariable] kbuild-3564/src/kmk/function.c:1581:21: style: Variable 'pathead' is not assigned a value. [unassignedVariable] kbuild-3564/src/kmk/glob/glob.c:1186:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] kbuild-3564/src/kmk/glob/glob.c:1188:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] kbuild-3564/src/kmk/hash.c:278:16: style: Variable 'old_item' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/implicit.c:507:11: error:inconclusive: Address of local auto-variable assigned to a function parameter. [autoVariables] kbuild-3564/src/kmk/implicit.c:228:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/implicit.c:481:29: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/implicit.c:777:36: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/implicit.c:948:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/implicit.c:976:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/implicit.c:370:15: style: The if condition is the same as the previous if condition [duplicateCondition] kbuild-3564/src/kmk/implicit.c:360:15: note: First condition kbuild-3564/src/kmk/implicit.c:370:15: note: Second condition kbuild-3564/src/kmk/implicit.c:296:23: error: Overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmetic] kbuild-3564/src/kmk/implicit.c:265:17: note: Assignment 'lastslash=0', assigned value is 0 kbuild-3564/src/kmk/implicit.c:296:23: note: Null pointer subtraction kbuild-3564/src/kmk/kbuild-object.c:938:22: warning: Either the condition '!pObj->pszName' is redundant or there is possible null pointer dereference: psz++. [nullPointerRedundantCheck] kbuild-3564/src/kmk/kbuild-object.c:934:9: note: Assuming that condition '!pObj->pszName' is not redundant kbuild-3564/src/kmk/kbuild-object.c:937:15: note: Assignment 'psz=pObj->pszName', assigned value is 0 kbuild-3564/src/kmk/kbuild-object.c:938:22: note: Null pointer dereference kbuild-3564/src/kmk/kbuild-object.c:938:22: warning: Either the condition '!pObj->pszName' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] kbuild-3564/src/kmk/kbuild-object.c:934:9: note: Assuming that condition '!pObj->pszName' is not redundant kbuild-3564/src/kmk/kbuild-object.c:937:15: note: Assignment 'psz=pObj->pszName', assigned value is 0 kbuild-3564/src/kmk/kbuild-object.c:938:22: note: Null pointer addition kbuild-3564/src/kmk/kbuild-object.c:548:60: style:inconclusive: Function 'try_define_kbuild_object_variable_via_accessor' argument 1 names different: declaration 'pszName' definition 'pchName'. [funcArgNamesDifferent] kbuild-3564/src/kmk/kbuild.h:57:80: note: Function 'try_define_kbuild_object_variable_via_accessor' argument 1 names different: declaration 'pszName' definition 'pchName'. kbuild-3564/src/kmk/kbuild-object.c:548:60: note: Function 'try_define_kbuild_object_variable_via_accessor' argument 1 names different: declaration 'pszName' definition 'pchName'. kbuild-3564/src/kmk/kbuild-object.c:595:54: style:inconclusive: Function 'define_kbuild_object_variable_in_top_obj' argument 1 names different: declaration 'pszName' definition 'pchName'. [funcArgNamesDifferent] kbuild-3564/src/kmk/kbuild.h:61:74: note: Function 'define_kbuild_object_variable_in_top_obj' argument 1 names different: declaration 'pszName' definition 'pchName'. kbuild-3564/src/kmk/kbuild-object.c:595:54: note: Function 'define_kbuild_object_variable_in_top_obj' argument 1 names different: declaration 'pszName' definition 'pchName'. kbuild-3564/src/kmk/kbuild-object.c:1088:39: style:inconclusive: Function 'eval_kbuild_read_hook' argument 3 names different: declaration 'word' definition 'pchWord'. [funcArgNamesDifferent] kbuild-3564/src/kmk/kbuild.h:70:55: note: Function 'eval_kbuild_read_hook' argument 3 names different: declaration 'word' definition 'pchWord'. kbuild-3564/src/kmk/kbuild-object.c:1088:39: note: Function 'eval_kbuild_read_hook' argument 3 names different: declaration 'word' definition 'pchWord'. kbuild-3564/src/kmk/kbuild-object.c:1088:55: style:inconclusive: Function 'eval_kbuild_read_hook' argument 4 names different: declaration 'wlen' definition 'cchWord'. [funcArgNamesDifferent] kbuild-3564/src/kmk/kbuild.h:70:68: note: Function 'eval_kbuild_read_hook' argument 4 names different: declaration 'wlen' definition 'cchWord'. kbuild-3564/src/kmk/kbuild-object.c:1088:55: note: Function 'eval_kbuild_read_hook' argument 4 names different: declaration 'wlen' definition 'cchWord'. kbuild-3564/src/kmk/job.c:517:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/job.c:2149:21: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/job.c:2488:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] kbuild-3564/src/kmk/job.c:2666:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/job.c:3792:47: style:inconclusive: Function 'construct_command_argv' argument 5 names different: declaration 'batch_file' definition 'batch_filename'. [funcArgNamesDifferent] kbuild-3564/src/kmk/job.h:142:54: note: Function 'construct_command_argv' argument 5 names different: declaration 'batch_file' definition 'batch_filename'. kbuild-3564/src/kmk/job.c:3792:47: note: Function 'construct_command_argv' argument 5 names different: declaration 'batch_file' definition 'batch_filename'. kbuild-3564/src/kmk/kbuild.c:114:9: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] kbuild-3564/src/kmk/kbuild.c:281:33: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/kbuild.c:319:33: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/kbuild.c:197:15: style: Condition 'rc<0' is always true [knownConditionTrueFalse] kbuild-3564/src/kmk/kbuild.c:123:11: note: Assignment 'rc=-1', assigned value is -1 kbuild-3564/src/kmk/kbuild.c:197:15: note: Condition 'rc<0' is always true kbuild-3564/src/kmk/kdepdb.c:639:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] kbuild-3564/src/kmk/kdepdb.c:663:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] kbuild-3564/src/kmk/kdepdb.c:508:88: style:inconclusive: Function 'kDepDbFHOpen' argument 4 names different: declaration 'pfNew' definition 'pfCreated'. [funcArgNamesDifferent] kbuild-3564/src/kmk/kdepdb.c:417:88: note: Function 'kDepDbFHOpen' argument 4 names different: declaration 'pfNew' definition 'pfCreated'. kbuild-3564/src/kmk/kdepdb.c:508:88: note: Function 'kDepDbFHOpen' argument 4 names different: declaration 'pfNew' definition 'pfCreated'. kbuild-3564/src/kmk/kdepdb.c:467:13: style: Unused variable: dwHigh [unusedVariable] kbuild-3564/src/kmk/kdepdb.c:1082:8: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/kmkbuiltin.c:322:0: error: #error "PORT ME!" [preprocessorErrorDirective] kbuild-3564/src/kmk/kmkbuiltin/cat.c:334:6: style: Redundant initialization for 'wfd'. The initialized value is overwritten before it is read. [redundantInitialization] kbuild-3564/src/kmk/kmkbuiltin/cat.c:331:15: note: wfd is initialized kbuild-3564/src/kmk/kmkbuiltin/cat.c:334:6: note: wfd is overwritten kbuild-3564/src/kmk/kmkbuiltin/common-env-and-cwd-opt.c:70:13: warning: Either the condition '!papszEnvNew' is redundant or there is possible null pointer dereference: papszEnvNew. [nullPointerRedundantCheck] kbuild-3564/src/kmk/kmkbuiltin/common-env-and-cwd-opt.c:71:17: note: Assuming that condition '!papszEnvNew' is not redundant kbuild-3564/src/kmk/kmkbuiltin/common-env-and-cwd-opt.c:70:13: note: Null pointer dereference kbuild-3564/src/kmk/kmkbuiltin/common-env-and-cwd-opt.c:74:26: warning: Either the condition '!papszEnvNew' is redundant or there is possible null pointer dereference: papszEnvNew. [nullPointerRedundantCheck] kbuild-3564/src/kmk/kmkbuiltin/common-env-and-cwd-opt.c:71:17: note: Assuming that condition '!papszEnvNew' is not redundant kbuild-3564/src/kmk/kmkbuiltin/common-env-and-cwd-opt.c:74:26: note: Null pointer dereference kbuild-3564/src/kmk/kmkbuiltin/cp_utils.c:347:47: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] kbuild-3564/src/kmk/kmkbuiltin/cp_utils.c:351:20: warning: Invalid fstat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/kmk/kmkbuiltin/cp_utils.c:323:62: note: Calling function 'copy_file_attribs', 3rd argument '-1' value is -1 kbuild-3564/src/kmk/kmkbuiltin/cp_utils.c:351:20: note: Invalid argument kbuild-3564/src/kmk/kmkbuiltin/cp_utils.c:228:10: style: Variable 'wtotal' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/kmkbuiltin/cp_utils.c:233:12: style: Variable 'wtotal' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/kmkbuiltin/darwin.c:53:12: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] kbuild-3564/src/kmk/kmkbuiltin/expr.c:84:61: style: Parameter 'ptr' can be declared as pointer to const [constParameter] kbuild-3564/src/kmk/kmkbuiltin/fts.c:879:45: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] kbuild-3564/src/kmk/kmkbuiltin/fts.c:640:7: style: Parameter 'sp' can be declared as pointer to const [constParameter] kbuild-3564/src/kmk/kmkbuiltin/getopt1_r.c:76:49: style:inconclusive: Function 'getopt_long_r' argument 2 names different: declaration 'longind' definition 'opt_index'. [funcArgNamesDifferent] kbuild-3564/src/kmk/kmkbuiltin/getopt_r.h:170:60: note: Function 'getopt_long_r' argument 2 names different: declaration 'longind' definition 'opt_index'. kbuild-3564/src/kmk/kmkbuiltin/getopt1_r.c:76:49: note: Function 'getopt_long_r' argument 2 names different: declaration 'longind' definition 'opt_index'. kbuild-3564/src/kmk/kmkbuiltin/getopt1_r.c:87:54: style:inconclusive: Function 'getopt_long_only_r' argument 2 names different: declaration 'longind' definition 'opt_index'. [funcArgNamesDifferent] kbuild-3564/src/kmk/kmkbuiltin/getopt_r.h:171:65: note: Function 'getopt_long_only_r' argument 2 names different: declaration 'longind' definition 'opt_index'. kbuild-3564/src/kmk/kmkbuiltin/getopt1_r.c:87:54: note: Function 'getopt_long_only_r' argument 2 names different: declaration 'longind' definition 'opt_index'. kbuild-3564/src/kmk/kmkbuiltin/fts.c:1121:28: error: Uninitialized variable: &sb [uninitvar] kbuild-3564/src/kmk/kmkbuiltin/fts.c:1239:9: style: Variable 'len' is not assigned a value. [unassignedVariable] kbuild-3564/src/kmk/kmkbuiltin/getopt_r.c:397:29: style:inconclusive: Function 'getopt_initialize_r' argument 5 names different: declaration 'longopts' definition 'long_options'. [funcArgNamesDifferent] kbuild-3564/src/kmk/kmkbuiltin/getopt_r.h:167:41: note: Function 'getopt_initialize_r' argument 5 names different: declaration 'longopts' definition 'long_options'. kbuild-3564/src/kmk/kmkbuiltin/getopt_r.c:397:29: note: Function 'getopt_initialize_r' argument 5 names different: declaration 'longopts' definition 'long_options'. kbuild-3564/src/kmk/kmkbuiltin/install.c:326:13: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] kbuild-3564/src/kmk/kmkbuiltin/install.c:341:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] kbuild-3564/src/kmk/kmkbuiltin/install.c:657:11: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] kbuild-3564/src/kmk/kmkbuiltin/install.c:725:9: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] kbuild-3564/src/kmk/kmkbuiltin/install.c:770:11: warning: Redundant assignment of 'errno' to itself. [selfAssignment] kbuild-3564/src/kmk/kmkbuiltin/install.c:185:8: style: Variable 'flags' is not assigned a value. [unassignedVariable] kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:221:12: style: Condition 'cb==~(KU32)0' is always false [knownConditionTrueFalse] kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:305:22: style: Condition 'cbStream==~(KU32)0' is always false [knownConditionTrueFalse] kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:497:12: style: Condition 'cb==~(KU32)0' is always false [knownConditionTrueFalse] kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:561:22: style: Condition 'cbStream==~(KU32)0' is always false [knownConditionTrueFalse] kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:226:93: style: Parameter 'paiPageMap' can be declared as pointer to const [constParameter] kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:502:93: style: Parameter 'paiPageMap' can be declared as pointer to const [constParameter] kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:358:24: style: Variable 'off' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:383:21: style: Variable 'off' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/kmkbuiltin/kSubmit.c:192:0: error: #error "Port me!" [preprocessorErrorDirective] kbuild-3564/src/kmk/kmkbuiltin/kill.c:282:43: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/kmk/kmkbuiltin/kill.c:287:43: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/kmk/kmkbuiltin/kill.c:224:25: style: Comparing expression of type 'char' against value 12079. Condition is always true. [compareValueOutOfTypeRangeError] kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:189:6: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:257:25: warning: Uninitialized variable: numask [uninitvar] kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:233:7: note: Assuming condition is false kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:257:25: note: Uninitialized variable: numask kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:125:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/kmkbuiltin/md5sum.c:364:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] kbuild-3564/src/kmk/kmkbuiltin/md5sum.c:88:21: style: Variable 's_achDigits' can be declared as const array [constVariable] kbuild-3564/src/kmk/kmkbuiltin/md5sum.c:83:44: style: Parameter 'pDigest' can be declared as const array [constParameter] kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:198:25: style:inconclusive: Boolean expression '!(fAttr&FILE_ATTRIBUTE_DIRECTORY)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:245:25: style:inconclusive: Boolean expression '!(fAttr&FILE_ATTRIBUTE_DIRECTORY)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:198:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:245:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:105:9: warning: Logical disjunction always evaluates to true: EXPR != '/' || EXPR != '\\'. [incorrectLogicOperator] kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:614:23: style: Condition 'count==1' is always false [knownConditionTrueFalse] kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:610:19: note: Assuming that condition 'count>1' is not redundant kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:614:23: note: Condition 'count==1' is always false kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:444:15: style: Local variable 'err' shadows outer function [shadowFunction] kbuild-3564/src/kmk/kmkbuiltin/err.h:31:6: note: Shadowed declaration kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:444:15: note: Shadow variable kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:351:25: style: Parameter 'pszX' can be declared as pointer to const [constParameter] kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:354:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/kmkbuiltin/openbsd.c:52:12: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] kbuild-3564/src/kmk/kmkbuiltin/printf.c:577:16: style: Variable 'cchWritten' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/kmkbuiltin/redirect.c:343:40: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] kbuild-3564/src/kmk/kmkbuiltin/redirect.c:367:44: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] kbuild-3564/src/kmk/kmkbuiltin/rm.c:421:12: style: Condition 'rval==0' is always true [knownConditionTrueFalse] kbuild-3564/src/kmk/kmkbuiltin/rm.c:413:10: note: Assignment 'rval=0', assigned value is 0 kbuild-3564/src/kmk/kmkbuiltin/rm.c:421:12: note: Condition 'rval==0' is always true kbuild-3564/src/kmk/kmkbuiltin/rm.c:573:12: style: Condition 'rval==0' is always true [knownConditionTrueFalse] kbuild-3564/src/kmk/kmkbuiltin/rm.c:566:10: note: Assignment 'rval=0', assigned value is 0 kbuild-3564/src/kmk/kmkbuiltin/rm.c:573:12: note: Condition 'rval==0' is always true kbuild-3564/src/kmk/kmkbuiltin/rm.c:636:15: warning: Either the condition 'sbp==NULL' is redundant or there is possible null pointer dereference: sbp. [nullPointerRedundantCheck] kbuild-3564/src/kmk/kmkbuiltin/rm.c:631:10: note: Assuming that condition 'sbp==NULL' is not redundant kbuild-3564/src/kmk/kmkbuiltin/rm.c:636:15: note: Null pointer dereference kbuild-3564/src/kmk/kmkbuiltin/rm.c:695:19: style: Variable 'flagsp' is not assigned a value. [unassignedVariable] kbuild-3564/src/kmk/kmkbuiltin/rmdir.c:193:6: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/kmkbuiltin/sleep.c:159:13: style: Condition 'cMsToSleep' is always true [knownConditionTrueFalse] kbuild-3564/src/kmk/kmkbuiltin/sleep.c:154:20: note: Assuming that condition 'cMsToSleep>0' is not redundant kbuild-3564/src/kmk/kmkbuiltin/sleep.c:159:13: note: Condition 'cMsToSleep' is always true kbuild-3564/src/kmk/kmkbuiltin/touch.c:159:20: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] kbuild-3564/src/kmk/kmkbuiltin/touch.c:874:14: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] kbuild-3564/src/kmk/kmkbuiltin/touch.c:882:22: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] kbuild-3564/src/kmk/load.c:252:44: style:inconclusive: Function 'load_file' argument 2 names different: declaration 'filename' definition 'ldname'. [funcArgNamesDifferent] kbuild-3564/src/kmk/makeint.h:855:48: note: Function 'load_file' argument 2 names different: declaration 'filename' definition 'ldname'. kbuild-3564/src/kmk/load.c:252:44: note: Function 'load_file' argument 2 names different: declaration 'filename' definition 'ldname'. kbuild-3564/src/kmk/loadapi.c:32:17: style:inconclusive: Function 'gmk_free' argument 1 names different: declaration 'str' definition 's'. [funcArgNamesDifferent] kbuild-3564/src/kmk/gnumake.h:42:33: note: Function 'gmk_free' argument 1 names different: declaration 'str' definition 's'. kbuild-3564/src/kmk/loadapi.c:32:17: note: Function 'gmk_free' argument 1 names different: declaration 'str' definition 's'. kbuild-3564/src/kmk/loadapi.c:40:47: style:inconclusive: Function 'gmk_eval' argument 2 names different: declaration 'floc' definition 'gfloc'. [funcArgNamesDifferent] kbuild-3564/src/kmk/gnumake.h:48:63: note: Function 'gmk_eval' argument 2 names different: declaration 'floc' definition 'gfloc'. kbuild-3564/src/kmk/loadapi.c:40:47: note: Function 'gmk_eval' argument 2 names different: declaration 'floc' definition 'gfloc'. kbuild-3564/src/kmk/loadapi.c:71:25: style:inconclusive: Function 'gmk_expand' argument 1 names different: declaration 'str' definition 'ref'. [funcArgNamesDifferent] kbuild-3564/src/kmk/gnumake.h:52:42: note: Function 'gmk_expand' argument 1 names different: declaration 'str' definition 'ref'. kbuild-3564/src/kmk/loadapi.c:71:25: note: Function 'gmk_expand' argument 1 names different: declaration 'str' definition 'ref'. kbuild-3564/src/kmk/loadapi.c:79:32: style:inconclusive: Function 'gmk_add_function' argument 3 names different: declaration 'min_args' definition 'min'. [funcArgNamesDifferent] kbuild-3564/src/kmk/gnumake.h:73:48: note: Function 'gmk_add_function' argument 3 names different: declaration 'min_args' definition 'min'. kbuild-3564/src/kmk/loadapi.c:79:32: note: Function 'gmk_add_function' argument 3 names different: declaration 'min_args' definition 'min'. kbuild-3564/src/kmk/loadapi.c:79:50: style:inconclusive: Function 'gmk_add_function' argument 4 names different: declaration 'max_args' definition 'max'. [funcArgNamesDifferent] kbuild-3564/src/kmk/gnumake.h:73:71: note: Function 'gmk_add_function' argument 4 names different: declaration 'max_args' definition 'max'. kbuild-3564/src/kmk/loadapi.c:79:50: note: Function 'gmk_add_function' argument 4 names different: declaration 'max_args' definition 'max'. kbuild-3564/src/kmk/misc.c:366:18: warning: Either the condition 'result==0' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] kbuild-3564/src/kmk/misc.c:353:14: note: Assuming that condition 'result==0' is not redundant kbuild-3564/src/kmk/misc.c:366:18: note: Null pointer dereference kbuild-3564/src/kmk/misc.c:806:32: style:inconclusive: Function 'free_ns_chain' argument 1 names different: declaration 'n' definition 'ns'. [funcArgNamesDifferent] kbuild-3564/src/kmk/dep.h:126:37: note: Function 'free_ns_chain' argument 1 names different: declaration 'n' definition 'ns'. kbuild-3564/src/kmk/misc.c:806:32: note: Function 'free_ns_chain' argument 1 names different: declaration 'n' definition 'ns'. kbuild-3564/src/kmk/misc.c:250:14: style: Local variable 'errno' shadows outer variable [shadowVariable] kbuild-3564/src/kmk/makeint.h:97:12: note: Shadowed declaration kbuild-3564/src/kmk/misc.c:250:14: note: Shadow variable kbuild-3564/src/kmk/main.c:1915:7: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] kbuild-3564/src/kmk/main.c:2348:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:2527:11: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] kbuild-3564/src/kmk/main.c:2582:24: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:2716:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3160:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3168:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3191:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3524:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3787:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3807:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3816:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3936:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3949:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3952:31: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3954:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3970:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3973:31: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3975:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3986:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:3999:21: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:4015:16: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/main.c:2832:11: style: Condition 'jobserver_auth' is always false [knownConditionTrueFalse] kbuild-3564/src/kmk/main.c:2830:24: note: Assignment 'jobserver_auth=NULL', assigned value is 0 kbuild-3564/src/kmk/main.c:2832:11: note: Condition 'jobserver_auth' is always false kbuild-3564/src/kmk/main.c:2156:11: style: Variable 'syncing' is reassigned a value before the old one has been used. [redundantAssignment] kbuild-3564/src/kmk/main.c:2121:11: note: syncing is assigned kbuild-3564/src/kmk/main.c:2156:11: note: syncing is overwritten kbuild-3564/src/kmk/main.c:1060:11: warning: String literal compared with variable 'output_sync_option'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/main.c:1062:16: warning: String literal compared with variable 'output_sync_option'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/main.c:1064:16: warning: String literal compared with variable 'output_sync_option'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/main.c:1066:16: warning: String literal compared with variable 'output_sync_option'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/main.c:2039:13: warning: String literal compared with variable 'v->name'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/main.c:3649:32: style: Variable 'opt[0]' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/main.c:4094:13: style: Variable 'p' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/main.c:4099:13: style: Variable 'p' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/main.c:4441:14: style: Variable '_x' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/output.c:1070:10: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] kbuild-3564/src/kmk/output.c:876:21: warning: Either the condition '!tfile' is redundant or there is possible null pointer dereference: tfile. [nullPointerRedundantCheck] kbuild-3564/src/kmk/output.c:866:7: note: Assuming that condition '!tfile' is not redundant kbuild-3564/src/kmk/output.c:876:21: note: Null pointer dereference kbuild-3564/src/kmk/output.c:1282:29: style:inconclusive: Function 'message' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] kbuild-3564/src/kmk/makeint.h:624:34: note: Function 'message' argument 2 names different: declaration 'length' definition 'len'. kbuild-3564/src/kmk/output.c:1282:29: note: Function 'message' argument 2 names different: declaration 'length' definition 'len'. kbuild-3564/src/kmk/output.c:1312:34: style:inconclusive: Function 'error' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] kbuild-3564/src/kmk/makeint.h:626:39: note: Function 'error' argument 2 names different: declaration 'length' definition 'len'. kbuild-3564/src/kmk/output.c:1312:34: note: Function 'error' argument 2 names different: declaration 'length' definition 'len'. kbuild-3564/src/kmk/output.c:1343:34: style:inconclusive: Function 'fatal' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] kbuild-3564/src/kmk/makeint.h:628:39: note: Function 'fatal' argument 2 names different: declaration 'length' definition 'len'. kbuild-3564/src/kmk/output.c:1343:34: note: Function 'fatal' argument 2 names different: declaration 'length' definition 'len'. kbuild-3564/src/kmk/remake.c:351:7: warning: Return value of function alloca() is not used. [ignoredReturnValue] kbuild-3564/src/kmk/remake.c:351:7: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/remake.c:1678:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/remake.c:1333:13: style: Condition 'ran' is always true [knownConditionTrueFalse] kbuild-3564/src/kmk/remake.c:90:36: style:inconclusive: Function 'update_goal_chain' argument 1 names different: declaration 'goals' definition 'goaldeps'. [funcArgNamesDifferent] kbuild-3564/src/kmk/dep.h:176:55: note: Function 'update_goal_chain' argument 1 names different: declaration 'goals' definition 'goaldeps'. kbuild-3564/src/kmk/remake.c:90:36: note: Function 'update_goal_chain' argument 1 names different: declaration 'goals' definition 'goaldeps'. kbuild-3564/src/kmk/remake.c:1383:44: style:inconclusive: Function 'check_dep' argument 4 names different: declaration 'must_make' definition 'must_make_ptr'. [funcArgNamesDifferent] kbuild-3564/src/kmk/remake.c:67:70: note: Function 'check_dep' argument 4 names different: declaration 'must_make' definition 'must_make_ptr'. kbuild-3564/src/kmk/remake.c:1383:44: note: Function 'check_dep' argument 4 names different: declaration 'must_make' definition 'must_make_ptr'. kbuild-3564/src/kmk/remake.c:2036:12: style: Variable 'p4' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/remote-cstms.c:193:10: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] kbuild-3564/src/kmk/remote-cstms.c:225:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] kbuild-3564/src/kmk/read.c:4056:51: warning: The address of local variable 'name' might be accessed at non-zero index. [objectIndex] kbuild-3564/src/kmk/read.c:4046:21: note: Address of variable taken here. kbuild-3564/src/kmk/read.c:4056:51: note: The address of local variable 'name' might be accessed at non-zero index. kbuild-3564/src/kmk/read.c:4059:15: warning: The address of local variable 'name' might be accessed at non-zero index. [objectIndex] kbuild-3564/src/kmk/read.c:4046:21: note: Address of variable taken here. kbuild-3564/src/kmk/read.c:4059:15: note: The address of local variable 'name' might be accessed at non-zero index. kbuild-3564/src/kmk/read.c:4086:11: warning: The address of local variable 'name' might be accessed at non-zero index. [objectIndex] kbuild-3564/src/kmk/read.c:4046:21: note: Address of variable taken here. kbuild-3564/src/kmk/read.c:4086:11: note: The address of local variable 'name' might be accessed at non-zero index. kbuild-3564/src/kmk/read.c:592:3: warning: Return value of function alloca() is not used. [ignoredReturnValue] kbuild-3564/src/kmk/read.c:640:3: warning: Return value of function alloca() is not used. [ignoredReturnValue] kbuild-3564/src/kmk/read.c:592:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/read.c:640:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/read.c:2239:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/read.c:3097:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/read.c:3678:27: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] kbuild-3564/src/kmk/read.c:3682:34: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] kbuild-3564/src/kmk/read.c:3703:15: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] kbuild-3564/src/kmk/read.c:1614:23: warning: Either the condition 'target==0' is redundant or there is possible null pointer dereference: target. [nullPointerRedundantCheck] kbuild-3564/src/kmk/read.c:1609:24: note: Assuming that condition 'target==0' is not redundant kbuild-3564/src/kmk/read.c:1614:23: note: Null pointer dereference kbuild-3564/src/kmk/read.c:2429:7: warning: Either the condition '!v' is redundant or there is possible null pointer dereference: v. [nullPointerRedundantCheck] kbuild-3564/src/kmk/read.c:2423:15: note: Assuming that condition '!v' is not redundant kbuild-3564/src/kmk/read.c:2429:7: note: Null pointer dereference kbuild-3564/src/kmk/read.c:2430:7: warning: Either the condition '!v' is redundant or there is possible null pointer dereference: v. [nullPointerRedundantCheck] kbuild-3564/src/kmk/read.c:2423:15: note: Assuming that condition '!v' is not redundant kbuild-3564/src/kmk/read.c:2430:7: note: Null pointer dereference kbuild-3564/src/kmk/read.c:2862:12: style: Variable 'name' is reassigned a value before the old one has been used. [redundantAssignment] kbuild-3564/src/kmk/read.c:2850:12: note: name is assigned kbuild-3564/src/kmk/read.c:2862:12: note: name is overwritten kbuild-3564/src/kmk/read.c:599:40: style:inconclusive: Function 'eval_buffer' argument 2 names different: declaration 'floc' definition 'flocp'. [funcArgNamesDifferent] kbuild-3564/src/kmk/dep.h:175:45: note: Function 'eval_buffer' argument 2 names different: declaration 'floc' definition 'flocp'. kbuild-3564/src/kmk/read.c:599:40: note: Function 'eval_buffer' argument 2 names different: declaration 'floc' definition 'flocp'. kbuild-3564/src/kmk/read.c:723:23: style:inconclusive: Function 'eval' argument 1 names different: declaration 'buffer' definition 'ebuf'. [funcArgNamesDifferent] kbuild-3564/src/kmk/read.c:168:35: note: Function 'eval' argument 1 names different: declaration 'buffer' definition 'ebuf'. kbuild-3564/src/kmk/read.c:723:23: note: Function 'eval' argument 1 names different: declaration 'buffer' definition 'ebuf'. kbuild-3564/src/kmk/read.c:723:33: style:inconclusive: Function 'eval' argument 2 names different: declaration 'flags' definition 'set_default'. [funcArgNamesDifferent] kbuild-3564/src/kmk/read.c:168:47: note: Function 'eval' argument 2 names different: declaration 'flags' definition 'set_default'. kbuild-3564/src/kmk/read.c:723:33: note: Function 'eval' argument 2 names different: declaration 'flags' definition 'set_default'. kbuild-3564/src/kmk/read.c:2620:11: warning: String literal compared with variable 'name'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/read.c:2632:16: warning: String literal compared with variable 'name'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/read.c:2639:16: warning: String literal compared with variable 'name'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/read.c:1750:3: style: Variable 'no_targets' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/rule.c:177:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/rule.c:190:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/rule.c:223:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/rule.c:453:35: style:inconclusive: Function 'create_pattern_rule' argument 3 names different: declaration 'num' definition 'n'. [funcArgNamesDifferent] kbuild-3564/src/kmk/rule.h:56:40: note: Function 'create_pattern_rule' argument 3 names different: declaration 'num' definition 'n'. kbuild-3564/src/kmk/rule.c:453:35: note: Function 'create_pattern_rule' argument 3 names different: declaration 'num' definition 'n'. kbuild-3564/src/kmk/signame.c:230:16: style:inconclusive: Function 'strsignal' argument 1 names different: declaration 'signum' definition 'sig'. [funcArgNamesDifferent] kbuild-3564/src/kmk/makeint.h:414:22: note: Function 'strsignal' argument 1 names different: declaration 'signum' definition 'sig'. kbuild-3564/src/kmk/signame.c:230:16: note: Function 'strsignal' argument 1 names different: declaration 'signum' definition 'sig'. kbuild-3564/src/kmk/strcache.c:248:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/strcache.c:112:10: warning: Either the condition 'sp==NULL' is redundant or there is possible null pointer dereference: *spp. [nullPointerRedundantCheck] kbuild-3564/src/kmk/strcache.c:117:10: note: Assuming that condition 'sp==NULL' is not redundant kbuild-3564/src/kmk/strcache.c:114:8: note: Assignment to 'sp=*spp' kbuild-3564/src/kmk/strcache.c:112:10: note: Null pointer dereference kbuild-3564/src/kmk/variable.c:3036:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/variable.c:3445:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/variable.c:1527:54: style:inconclusive: Function 'merge_variable_set_lists' argument 1 names different: declaration 'to_list' definition 'setlist0'. [funcArgNamesDifferent] kbuild-3564/src/kmk/variable.h:376:59: note: Function 'merge_variable_set_lists' argument 1 names different: declaration 'to_list' definition 'setlist0'. kbuild-3564/src/kmk/variable.c:1527:54: note: Function 'merge_variable_set_lists' argument 1 names different: declaration 'to_list' definition 'setlist0'. kbuild-3564/src/kmk/variable.c:1528:53: style:inconclusive: Function 'merge_variable_set_lists' argument 2 names different: declaration 'from_list' definition 'setlist1'. [funcArgNamesDifferent] kbuild-3564/src/kmk/variable.h:377:58: note: Function 'merge_variable_set_lists' argument 2 names different: declaration 'from_list' definition 'setlist1'. kbuild-3564/src/kmk/variable.c:1528:53: note: Function 'merge_variable_set_lists' argument 2 names different: declaration 'from_list' definition 'setlist1'. kbuild-3564/src/kmk/variable.c:2486:56: style:inconclusive: Function 'do_variable_definition' argument 2 names different: declaration 'name' definition 'varname'. [funcArgNamesDifferent] kbuild-3564/src/kmk/variable.h:384:54: note: Function 'do_variable_definition' argument 2 names different: declaration 'name' definition 'varname'. kbuild-3564/src/kmk/variable.c:2486:56: note: Function 'do_variable_definition' argument 2 names different: declaration 'name' definition 'varname'. kbuild-3564/src/kmk/variable.c:2870:40: style:inconclusive: Function 'parse_variable_definition' argument 1 names different: declaration 'line' definition 'p'. [funcArgNamesDifferent] kbuild-3564/src/kmk/variable.h:401:46: note: Function 'parse_variable_definition' argument 1 names different: declaration 'line' definition 'p'. kbuild-3564/src/kmk/variable.c:2870:40: note: Function 'parse_variable_definition' argument 1 names different: declaration 'line' definition 'p'. kbuild-3564/src/kmk/variable.c:2870:60: style:inconclusive: Function 'parse_variable_definition' argument 2 names different: declaration 'v' definition 'var'. [funcArgNamesDifferent] kbuild-3564/src/kmk/variable.h:402:51: note: Function 'parse_variable_definition' argument 2 names different: declaration 'v' definition 'var'. kbuild-3564/src/kmk/variable.c:2870:60: note: Function 'parse_variable_definition' argument 2 names different: declaration 'v' definition 'var'. kbuild-3564/src/kmk/variable.c:800:47: warning: String literal compared with variable 'var->name'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/variable.c:2224:23: warning: String literal compared with variable 'v->name'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/variable.c:2447:7: warning: String literal compared with variable 'var->name'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] kbuild-3564/src/kmk/vms_export_symbol.c:231:13: style: The if condition is the same as the previous if condition [duplicateCondition] kbuild-3564/src/kmk/vms_export_symbol.c:203:13: note: First condition kbuild-3564/src/kmk/vms_export_symbol.c:231:13: note: Second condition kbuild-3564/src/kmk/vms_export_symbol.c:42:18: style: struct member 'item_list_3::len' is never used. [unusedStructMember] kbuild-3564/src/kmk/vms_export_symbol.c:43:18: style: struct member 'item_list_3::code' is never used. [unusedStructMember] kbuild-3564/src/kmk/vms_export_symbol.c:44:10: style: struct member 'item_list_3::bufadr' is never used. [unusedStructMember] kbuild-3564/src/kmk/vms_export_symbol.c:45:20: style: struct member 'item_list_3::retlen' is never used. [unusedStructMember] kbuild-3564/src/kmk/vms_export_symbol.c:133:7: style: Unused variable: status [unusedVariable] kbuild-3564/src/kmk/vms_export_symbol.c:194:11: style: Unused variable: x [unusedVariable] kbuild-3564/src/kmk/vms_progname.c:274:13: style: Local variable 'status' shadows outer variable [shadowVariable] kbuild-3564/src/kmk/vms_progname.c:133:7: note: Shadowed declaration kbuild-3564/src/kmk/vms_progname.c:274:13: note: Shadow variable kbuild-3564/src/kmk/vms_progname.c:409:21: style: Local variable 'i' shadows outer variable [shadowVariable] kbuild-3564/src/kmk/vms_progname.c:387:17: note: Shadowed declaration kbuild-3564/src/kmk/vms_progname.c:409:21: note: Shadow variable kbuild-3564/src/kmk/vms_progname.c:223:22: style: Unused variable: argv_dev [unusedVariable] kbuild-3564/src/kmk/vms_progname.c:277:16: style: Unused variable: volume [unusedVariable] kbuild-3564/src/kmk/vms_progname.c:325:17: style: Unused variable: i [unusedVariable] kbuild-3564/src/kmk/vms_progname.c:379:16: style: Unused variable: extension [unusedVariable] kbuild-3564/src/kmk/vms_progname.c:387:17: style: Unused variable: i [unusedVariable] kbuild-3564/src/kmk/vmsify.c:408:8: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] kbuild-3564/src/kmk/vmsify.c:802:13: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] kbuild-3564/src/kmk/vmsify.c:862:13: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] kbuild-3564/src/kmk/vmsify.c:364:25: style: Local variable 's' shadows outer variable [shadowVariable] kbuild-3564/src/kmk/vmsify.c:234:15: note: Shadowed declaration kbuild-3564/src/kmk/vmsify.c:364:25: note: Shadow variable kbuild-3564/src/kmk/vmsify.c:566:25: style: Local variable 's' shadows outer variable [shadowVariable] kbuild-3564/src/kmk/vmsify.c:234:15: note: Shadowed declaration kbuild-3564/src/kmk/vmsify.c:566:25: note: Shadow variable kbuild-3564/src/kmk/vmsify.c:630:25: style: Local variable 's' shadows outer variable [shadowVariable] kbuild-3564/src/kmk/vmsify.c:234:15: note: Shadowed declaration kbuild-3564/src/kmk/vmsify.c:630:25: note: Shadow variable kbuild-3564/src/kmk/vmsify.c:325:12: style: Variable 'fptr' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/vpath.c:382:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/kmk/vmsjobs.c:1122:41: warning: Logical disjunction always evaluates to true: EXPR != ' ' || EXPR != '\t'. [incorrectLogicOperator] kbuild-3564/src/kmk/vmsjobs.c:1268:16: warning: Either the condition 'outfile==0' is redundant or there is possible null pointer dereference: outfile. [nullPointerRedundantCheck] kbuild-3564/src/kmk/vmsjobs.c:1251:19: note: Assuming that condition 'outfile==0' is not redundant kbuild-3564/src/kmk/vmsjobs.c:1268:16: note: Null pointer dereference kbuild-3564/src/kmk/vmsjobs.c:1269:16: warning: Either the condition 'outfile==0' is redundant or there is possible null pointer dereference: outfile. [nullPointerRedundantCheck] kbuild-3564/src/kmk/vmsjobs.c:1251:19: note: Assuming that condition 'outfile==0' is not redundant kbuild-3564/src/kmk/vmsjobs.c:1269:16: note: Null pointer dereference kbuild-3564/src/kmk/vmsjobs.c:1270:16: warning: Either the condition 'outfile==0' is redundant or there is possible null pointer dereference: outfile. [nullPointerRedundantCheck] kbuild-3564/src/kmk/vmsjobs.c:1251:19: note: Assuming that condition 'outfile==0' is not redundant kbuild-3564/src/kmk/vmsjobs.c:1270:16: note: Null pointer dereference kbuild-3564/src/kmk/vmsjobs.c:452:37: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] kbuild-3564/src/kmk/vmsjobs.c:460:37: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] kbuild-3564/src/kmk/vmsjobs.c:468:37: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] kbuild-3564/src/kmk/vmsjobs.c:1356:11: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] kbuild-3564/src/kmk/vmsjobs.c:1463:11: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] kbuild-3564/src/kmk/vmsjobs.c:1356:14: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] kbuild-3564/src/kmk/vmsjobs.c:1463:14: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] kbuild-3564/src/kmk/vmsjobs.c:206:29: style: struct member 'Anonymous0::count' is never used. [unusedStructMember] kbuild-3564/src/kmk/vmsjobs.c:207:13: style: struct member 'Anonymous0::dvi' is never used. [unusedStructMember] kbuild-3564/src/kmk/vmsjobs.c:75:18: style: Variable 'vms_status' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/vmsjobs.c:74:21: style: Variable 'out' is not assigned a value. [unassignedVariable] kbuild-3564/src/kmk/vmsjobs.c:136:22: style: Variable 'child_failed' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/vmsjobs.c:142:19: style: Variable 'exit_code' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/vmsjobs.c:146:9: style: Variable 'lastc' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/kmk/vmsjobs.c:808:7: style: Unused variable: i [unusedVariable] kbuild-3564/src/kmk/vmsjobs.c:1246:11: style: Unused variable: cmd_len [unusedVariable] kbuild-3564/src/kmk/w32/imagecache.c:183:16: style: Condition 'pCur2' is always true [knownConditionTrueFalse] kbuild-3564/src/kmk/w32/tstFileInfo.c:130:17: warning: %x in format string (no. 3) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] kbuild-3564/src/kmk/w32/tstFileInfo.c:139:17: warning: %x in format string (no. 3) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] kbuild-3564/src/kmk/w32/subproc/sub_proc.c:433:17: error: Memory leak: pproc [memleak] kbuild-3564/src/kmk/w32/subproc/sub_proc.c:449:17: error: Memory leak: pproc [memleak] kbuild-3564/src/kmk/w32/subproc/sub_proc.c:464:17: error: Memory leak: pproc [memleak] kbuild-3564/src/kmk/w32/subproc/sub_proc.c:477:9: error: Memory leak: pproc [memleak] kbuild-3564/src/kmk/w32/subproc/sub_proc.c:501:9: error: Memory leak: pproc [memleak] kbuild-3564/src/kmk/w32/subproc/sub_proc.c:1490:49: style: Same expression on both sides of '&&' because 'cygwin_mode' and 'have_sh' represent the same value. [knownConditionTrueFalse] kbuild-3564/src/kmk/w32/subproc/sub_proc.c:1331:28: note: 'cygwin_mode' is assigned value '0' here. kbuild-3564/src/kmk/w32/subproc/sub_proc.c:1332:23: note: 'have_sh' is assigned value '0' here. kbuild-3564/src/kmk/w32/subproc/sub_proc.c:1490:49: note: Same expression on both sides of '&&' because 'cygwin_mode' and 'have_sh' represent the same value. kbuild-3564/src/kmk/w32/subproc/sub_proc.c:1322:44: style:inconclusive: Function 'make_command_line' argument 2 names different: declaration 'exec_path' definition 'full_exec_path'. [funcArgNamesDifferent] kbuild-3564/src/kmk/w32/subproc/sub_proc.c:45:56: note: Function 'make_command_line' argument 2 names different: declaration 'exec_path' definition 'full_exec_path'. kbuild-3564/src/kmk/w32/subproc/sub_proc.c:1322:44: note: Function 'make_command_line' argument 2 names different: declaration 'exec_path' definition 'full_exec_path'. kbuild-3564/src/kmk/w32/subproc/sub_proc.c:590:15: style: Parameter 'as_user' can be declared as pointer to const [constParameter] kbuild-3564/src/kmk/w32/winchildren.c:445:0: error: #error "K_ARCH_BITS is bad/missing" [preprocessorErrorDirective] kbuild-3564/src/lib/crc32.c:158:9: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] kbuild-3564/src/lib/crc32.c:156:19: note: p is initialized kbuild-3564/src/lib/crc32.c:158:9: note: p is overwritten kbuild-3564/src/lib/dos2unix.c:181:25: style: Variable 'cLoneCrs' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/lib/kStuff/kCpu/kCpuCompare.c:50:1: error: There is an unknown macro here somewhere. Configuration is required. If KCPU_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kCpu/kCpuGetArchAndCpu.c:43:1: error: There is an unknown macro here somewhere. Configuration is required. If KCPU_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kDbg/kDbgDump.cpp:168:20: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/lib/kStuff/kDbg/kDbgLine.cpp:49:1: error: There is an unknown macro here somewhere. Configuration is required. If KDBG_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kDbg/kDbgHlpCrt.cpp:53:11: style: struct member 'KDBGHLPFILE::pStrm' is never used. [unusedStructMember] kbuild-3564/src/lib/kStuff/kDbg/kDbgModPE.cpp:128:26: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kDbg/kDbgModPE.cpp:168:26: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kDbg/kDbgModPE.cpp:232:26: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kDbg/kDbgModPE.cpp:279:26: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kDbg/kDbgModPE.cpp:232:23: style: Variable 'pModPe' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:298:23: warning: Obsolete function 'alloca' called. [allocaCalled] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:396:36: warning: Obsolete function 'alloca' called. [allocaCalled] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:171:31: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:210:31: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:272:31: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:396:27: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:617:31: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:180:17: style: Local variable 'off' shadows outer argument [shadowArgument] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:169:70: note: Shadowed declaration kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:180:17: note: Shadow variable kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:219:17: style: Local variable 'off' shadows outer argument [shadowArgument] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:208:72: note: Shadowed declaration kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:219:17: note: Shadow variable kbuild-3564/src/lib/kStuff/kDbg/kDbgModule.cpp:84:1: error: There is an unknown macro here somewhere. Configuration is required. If KDBG_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:474:13: style: Local variable 'rc' shadows outer variable [shadowVariable] kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:463:9: note: Shadowed declaration kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:474:13: note: Shadow variable kbuild-3564/src/lib/kStuff/kDbg/kDbgModWinDbgHelp.cpp:223:25: style: union member 'Anonymous0::achBuffer' is never used. [unusedStructMember] kbuild-3564/src/lib/kStuff/kDbg/kDbgSpace.cpp:177:0: error: failed to expand 'kDbgAssertPtrReturn', Wrong number of parameters for macro 'kDbgAssertPtrReturn'. [preprocessorErrorDirective] kbuild-3564/src/lib/kStuff/kDbg/kDbgSymbol.cpp:49:1: error: There is an unknown macro here somewhere. Configuration is required. If KDBG_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kErr/kErrName.c:45:1: error: There is an unknown macro here somewhere. Configuration is required. If KERR_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Bare/kHlpBareAssert.c:118:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Bare/kHlpBareEnv.c:55:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Bare/kHlpBareHeap.c:202:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Bare/kHlpSys-darwin.c:338:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] kbuild-3564/src/lib/kStuff/kHlp/CRT/kHlpCRTAlloc.cpp:39:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/CRT/kHlpCRTEnv.cpp:40:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpGetEnvUZ.c:46:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpGetExt.c:45:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpGetFilename.c:45:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpInt2Ascii.c:46:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpIsFilenameOnly.c:46:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemChr.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemComp.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemCopy.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemICompAscii.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemMove.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemPComp.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemPCopy.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemPMove.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemPSet.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpMemSet.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpPage.c:153:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrCat.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrChr.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrComp.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrCopy.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrICompAscii.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrIPCompAscii.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrLen.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrNCat.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrNComp.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrNICompAscii.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrNIPCompAscii.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrNLen.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrNPCat.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrNPComp.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrPCat.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrPComp.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrPCopy.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kHlp/Generic/kHlpStrRChr.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KHLP_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kLdr/kLdrInternal.h:47:0: error: #error "can't figure out the target arch." [preprocessorErrorDirective] kbuild-3564/src/lib/kStuff/kLdr/testcase/tst-0-driver.c:496:9: style: The if condition is the same as the previous if condition [duplicateCondition] kbuild-3564/src/lib/kStuff/kLdr/testcase/tst-0-driver.c:488:9: note: First condition kbuild-3564/src/lib/kStuff/kLdr/testcase/tst-0-driver.c:496:9: note: Second condition kbuild-3564/src/lib/kStuff/kLdr/testcase/tstDllMain.c:143:27: style:inconclusive: Function 'tstWrite' argument 1 names different: declaration 'psz' definition 'pszMsg'. [funcArgNamesDifferent] kbuild-3564/src/lib/kStuff/kLdr/testcase/tstDllMain.c:57:27: note: Function 'tstWrite' argument 1 names different: declaration 'psz' definition 'pszMsg'. kbuild-3564/src/lib/kStuff/kLdr/testcase/tstDllMain.c:143:27: note: Function 'tstWrite' argument 1 names different: declaration 'psz' definition 'pszMsg'. kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:65:13: portability: %x in format string (no. 3) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:53:22: error: Null pointer dereference: (struct KPRF32MODSEG*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:158:22: error: Null pointer dereference: (struct KPRF32MODSEG*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:680:22: error: Null pointer dereference: (struct KPRF32MODSEG*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:53:22: error: Null pointer dereference: (struct KPRF64MODSEG*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:158:22: error: Null pointer dereference: (struct KPRF64MODSEG*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:680:22: error: Null pointer dereference: (struct KPRF64MODSEG*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/kPrf2Read.cpp:230:5: error: Null pointer dereference: (struct KPRF32STACK*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/kPrf2Read.cpp:230:5: error: Null pointer dereference: (struct KPRF64STACK*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:52:0: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:78:0: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:102:0: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:144:0: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:157:0: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:177:0: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:189:0: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:219:0: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:320:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:321:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:345:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:346:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:360:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:361:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:375:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:376:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:390:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:391:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:415:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:416:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:430:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:431:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:445:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:446:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:460:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:461:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:475:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:476:32: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:589:36: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:597:54: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:598:54: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:603:63: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:604:63: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:679:0: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:686:43: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:721:44: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:1370:33: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:1415:87: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:721:36: style: Local variable 'pMod' shadows outer variable [shadowVariable] kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:707:32: note: Shadowed declaration kbuild-3564/src/lib/kStuff/kProfiler2/prfreader.cpp.h:721:36: note: Shadow variable kbuild-3564/src/lib/kStuff/kProfiler2/kProfileR3.cpp:961:38: warning: Obsolete function 'alloca' called. [allocaCalled] kbuild-3564/src/lib/kStuff/kProfiler2/kProfileR3.cpp:1267:31: warning:inconclusive: Logical conjunction always evaluates to false: ch >= 'a' && ch <= 'F'. [incorrectLogicOperator] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoremodseg.cpp.h:64:21: style: Condition 'off>=pHdr->cbModSegs' is always true [knownConditionTrueFalse] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoremodseg.cpp.h:50:17: note: Assuming that condition 'off>=pHdr->cbModSegs' is not redundant kbuild-3564/src/lib/kStuff/kProfiler2/prfcoremodseg.cpp.h:64:21: note: Condition 'off>=pHdr->cbModSegs' is always true kbuild-3564/src/lib/kStuff/kProfiler2/prfcoremodseg.cpp.h:66:33: error: Null pointer dereference: (struct KPRFMODSEG*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoremodseg.cpp.h:115:22: error: Null pointer dereference: (struct KPRFMODSEG*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoremodseg.cpp.h:191:22: error: Null pointer dereference: (struct KPRFMODSEG*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoreinit.cpp.h:61:15: error: Null pointer dereference: (struct KPRFHDR*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoreinit.cpp.h:115:15: error: Null pointer dereference: (struct KPRFHDR*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoreinit.cpp.h:167:23: error: Null pointer dereference: (struct KPRFSTACK*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoreinit.cpp.h:174:31: error: Null pointer dereference: (struct KPRFSTACK*)0 [nullPointer] kbuild-3564/src/lib/kStuff/kProfiler2/kProfileR3.cpp:218:16: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/kProfileR3.cpp:961:27: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoremodseg.cpp.h:176:33: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoremodseg.cpp.h:194:39: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcorefunction.cpp.h:45:37: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:40:37: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:98:39: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:111:35: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:187:39: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:279:33: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:394:33: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:438:37: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:450:47: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:510:37: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:575:33: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcore.cpp.h:634:33: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoreinit.cpp.h:119:30: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoreterm.cpp.h:47:36: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoreterm.cpp.h:111:17: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoreterm.cpp.h:112:20: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoreterm.cpp.h:136:22: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kProfiler2/kProfileR3.cpp:1589:17: style: Variable 's_szDigits' can be declared as const array [constVariable] kbuild-3564/src/lib/kStuff/kProfiler2/prfcoremodseg.cpp.h:145:9: error: Uninitialized variable: s.ModSeg [uninitvar] kbuild-3564/src/lib/kStuff/kProfiler2/tst.c:29:20: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/lib/kStuff/kProfiler2/tst.c:31:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/lib/kStuff/kRdr/kRdr.cpp:49:1: error: There is an unknown macro here somewhere. Configuration is required. If KRDR_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kRdr/kRdrBuffered.cpp:435:1: error: There is an unknown macro here somewhere. Configuration is required. If KRDR_DECL is a macro then please configure it. [unknownMacro] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:360:34: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:398:34: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:464:14: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:478:34: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:531:14: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:551:33: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:808:14: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:858:27: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:865:27: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:884:27: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:931:27: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:939:27: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:959:27: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:994:27: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:1115:30: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:1272:17: style: C-style pointer casting [cstyleCast] kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:347:67: style: Parameter 'pv' can be declared as pointer to const [constParameter] kbuild-3564/src/lib/md5.c:168:41: style: Parameter 'in' can be declared as const array [constParameter] kbuild-3564/src/lib/msc_buffered_printf.c:99:40: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/lib/msc_buffered_printf.c:140:40: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/lib/msc_buffered_printf.c:216:33: style: Condition 'pawcBufFree' is always false [knownConditionTrueFalse] kbuild-3564/src/lib/msc_buffered_printf.c:192:44: note: Assignment 'pawcBufFree=NULL', assigned value is 0 kbuild-3564/src/lib/msc_buffered_printf.c:216:33: note: Condition 'pawcBufFree' is always false kbuild-3564/src/lib/msc_buffered_printf.c:100:25: error: va_list 'va2' used before va_start() was called. [va_list_usedBeforeStarted] kbuild-3564/src/lib/msc_buffered_printf.c:101:66: error: va_list 'va2' used before va_start() was called. [va_list_usedBeforeStarted] kbuild-3564/src/lib/nt/fts-nt.c:1156:25: warning: Possible null pointer dereference: wcsname [nullPointer] kbuild-3564/src/lib/nt/fts-nt.c:208:39: note: Calling function 'fts_alloc', 4th argument 'NULL' value is 0 kbuild-3564/src/lib/nt/fts-nt.c:1156:25: note: Null pointer dereference kbuild-3564/src/lib/nt/kFsCache.c:2272:58: error: Array 'uBuf.FsAttrInfo.FileSystemName[1]' accessed at index 1, which is out of bounds. [arrayIndexOutOfBounds] kbuild-3564/src/lib/nt/kFsCache.c:2273:58: error: Array 'uBuf.FsAttrInfo.FileSystemName[1]' accessed at index 2, which is out of bounds. [arrayIndexOutOfBounds] kbuild-3564/src/lib/nt/kFsCache.c:2274:58: error: Array 'uBuf.FsAttrInfo.FileSystemName[1]' accessed at index 3, which is out of bounds. [arrayIndexOutOfBounds] kbuild-3564/src/lib/nt/kFsCache.c:2275:58: error: Array 'uBuf.FsAttrInfo.FileSystemName[1]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] kbuild-3564/src/lib/nt/kFsCache.c:4557:13: style: Condition 'fCloseDirs' is always true [knownConditionTrueFalse] kbuild-3564/src/lib/nt/kFsCache.c:1657:14: style: Variable 'rcNt' is reassigned a value before the old one has been used. [redundantAssignment] kbuild-3564/src/lib/nt/kFsCache.c:1620:26: note: rcNt is assigned kbuild-3564/src/lib/nt/kFsCache.c:1657:14: note: rcNt is overwritten kbuild-3564/src/lib/nt/kFsCache.c:4783:28: warning: Redundant code: Found unused member access. [constStatement] kbuild-3564/src/lib/nt/kFsCache.c:4784:28: warning: Redundant code: Found unused member access. [constStatement] kbuild-3564/src/lib/nt/kFsCache.c:4785:28: warning: Redundant code: Found unused member access. [constStatement] kbuild-3564/src/lib/nt/kFsCache.c:1517:94: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/lib/nt/kFsCache.c:1519:38: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/lib/nt/kFsCache.c:1856:88: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/lib/nt/kFsCache.c:1858:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] kbuild-3564/src/lib/nt/ntdir.c:115:40: style:inconclusive: Function 'birdDirOpenFromHandle' argument 1 names different: declaration 'hDir' definition 'pvHandle'. [funcArgNamesDifferent] kbuild-3564/src/lib/nt/ntdir.h:136:45: note: Function 'birdDirOpenFromHandle' argument 1 names different: declaration 'hDir' definition 'pvHandle'. kbuild-3564/src/lib/nt/ntdir.c:115:40: note: Function 'birdDirOpenFromHandle' argument 1 names different: declaration 'hDir' definition 'pvHandle'. kbuild-3564/src/lib/nt/kFsCache.c:2240:26: style: union member 'Anonymous5::abPadding' is never used. [unusedStructMember] kbuild-3564/src/lib/nt/ntdir.c:210:27: style: union member 'Anonymous2::abBuf' is never used. [unusedStructMember] kbuild-3564/src/lib/nt/kFsCache.c:3228:25: style: Variable 'pParent' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/lib/nt/kFsCache.c:3241:16: style: Variable 'off' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/lib/nt/nthlpfs.c:256:45: style:inconclusive: Function 'birdDosToRelativeNtPathW' argument 1 names different: declaration 'pszPath' definition 'pwszPath'. [funcArgNamesDifferent] kbuild-3564/src/lib/nt/nthlp.h:80:53: note: Function 'birdDosToRelativeNtPathW' argument 1 names different: declaration 'pszPath' definition 'pwszPath'. kbuild-3564/src/lib/nt/nthlpfs.c:256:45: note: Function 'birdDosToRelativeNtPathW' argument 1 names different: declaration 'pszPath' definition 'pwszPath'. kbuild-3564/src/lib/nt/ntunlink.c:212:53: style:inconclusive: Function 'birdUnlinkForcedExW' argument 2 names different: declaration 'pszFile' definition 'pwszFile'. [funcArgNamesDifferent] kbuild-3564/src/lib/nt/ntunlink.h:44:53: note: Function 'birdUnlinkForcedExW' argument 2 names different: declaration 'pszFile' definition 'pwszFile'. kbuild-3564/src/lib/nt/ntunlink.c:212:53: note: Function 'birdUnlinkForcedExW' argument 2 names different: declaration 'pszFile' definition 'pwszFile'. kbuild-3564/src/lib/nt/ntstat.c:402:50: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/lib/nt/ntstat.c:437:54: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/lib/nt/ntstat.c:595:59: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/lib/nt/ntstat.c:697:59: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/lib/nt/ntstat.c:625:12: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] kbuild-3564/src/lib/nt/ntstat.c:614:28: note: rc is assigned kbuild-3564/src/lib/nt/ntstat.c:625:12: note: rc is overwritten kbuild-3564/src/lib/nt/ntstat.c:727:12: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] kbuild-3564/src/lib/nt/ntstat.c:716:28: note: rc is assigned kbuild-3564/src/lib/nt/ntstat.c:727:12: note: rc is overwritten kbuild-3564/src/lib/nt/ntstat.c:399:24: warning: Uninitialized variable: BasicInfo.FileAttributes [uninitvar] kbuild-3564/src/lib/nt/ntstat.c:373:9: note: Assuming condition is false kbuild-3564/src/lib/nt/ntstat.c:399:24: note: Uninitialized variable: BasicInfo.FileAttributes kbuild-3564/src/lib/nt/ntstat.c:410:54: error: Uninitialized struct member: BasicInfo.FileAttributes [uninitStructMember] kbuild-3564/src/lib/nt/ntstat.c:410:80: error: Uninitialized struct member: TagInfo.ReparseTag [uninitStructMember] kbuild-3564/src/lib/nt/tstNtStat.c:110:9: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstNtStat.c:110:9: warning: %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstNtStat.c:110:9: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstNtFts.c:73:21: style: Condition '!chOpt' is always false [knownConditionTrueFalse] kbuild-3564/src/lib/nt/tstNtFts.c:71:23: note: Assuming that condition 'chOpt=='-'' is not redundant kbuild-3564/src/lib/nt/tstNtFts.c:73:21: note: Condition '!chOpt' is always false kbuild-3564/src/lib/nt/tstkFsCache.c:99:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:102:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:105:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:108:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:144:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:146:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:150:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:152:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:155:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:160:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:161:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:165:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:166:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:169:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:171:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:174:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:175:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:178:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:179:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:184:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:187:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:193:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt/tstkFsCache.c:196:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/nt_fullpath.c:375:37: style: Redundant condition: If 'EXPR == '/'', the comparison 'EXPR != '\\'' is always true. [redundantCondition] kbuild-3564/src/lib/nt_fullpath.c:513:52: style: Comparing expression of type 'char' against value 12079. Condition is always true. [compareValueOutOfTypeRangeError] kbuild-3564/src/lib/nt_fullpath.c:231:21: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] kbuild-3564/src/lib/nt_fullpath.c:80:24: error: Expression '*psz++=toupper(*psz)' depends on order of evaluation of side effects [unknownEvaluationOrder] kbuild-3564/src/lib/nt_fullpath.c:90:24: error: Expression '*psz++=toupper(*psz)' depends on order of evaluation of side effects [unknownEvaluationOrder] kbuild-3564/src/lib/nt_fullpath.c:428:34: error: Uninitialized variable: pFsAttrInfo->FileSystemName [uninitvar] kbuild-3564/src/lib/nt_fullpath.c:361:9: note: Assuming condition is false kbuild-3564/src/lib/nt_fullpath.c:421:61: note: Assignment 'pFsAttrInfo=(struct _MY_FILE_FS_ATTRIBUTE_INFORMATION*)abBuf', assigned value is kbuild-3564/src/lib/nt_fullpath.c:428:34: note: Uninitialized variable: pFsAttrInfo->FileSystemName kbuild-3564/src/lib/nt_fullpath.c:241:17: style: Variable 'psz' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/lib/quote_argv.c:41:0: error: #error "KBUILD_OS_WINDOWS not defined" [preprocessorErrorDirective] kbuild-3564/src/lib/restartable-syscall-wrappers.c:70:0: error: #error "Port Me" [preprocessorErrorDirective] kbuild-3564/src/lib/test-eintr-bug-1.c:36:13: style: Obsolescent function 'bsd_signal' called. It is recommended to use 'sigaction' instead. [prohibitedbsd_signalCalled] kbuild-3564/src/lib/test-eintr-bug-1.c:75:17: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/lib/test-eintr-bug-2.c:80:13: style: Obsolescent function 'bsd_signal' called. It is recommended to use 'sigaction' instead. [prohibitedbsd_signalCalled] kbuild-3564/src/lib/test-eintr-bug-2.c:82:17: style: Obsolescent function 'bsd_signal' called. It is recommended to use 'sigaction' instead. [prohibitedbsd_signalCalled] kbuild-3564/src/lib/test-eintr-bug-2.c:58:13: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] kbuild-3564/src/lib/test-eintr-bug-2.c:55:12: note: outer condition: !g_fShutdown kbuild-3564/src/lib/test-eintr-bug-2.c:58:13: note: opposite inner condition: g_fShutdown kbuild-3564/src/lib/win_get_processor_group_active_mask.c:45:53: style: union member 'Anonymous0::ab' is never used. [unusedStructMember] kbuild-3564/src/misc/kmk_time.c:379:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/intl/dcgettext.c:48:18: style:inconclusive: Function 'dcgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:178:26: note: Function 'dcgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dcgettext.c:48:18: note: Function 'dcgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dcgettext.c:49:18: style:inconclusive: Function 'dcgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:178:26: note: Function 'dcgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/dcgettext.c:49:18: note: Function 'dcgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/dcgettext.c:50:10: style:inconclusive: Function 'dcgettext__' argument 3 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:178:26: note: Function 'dcgettext__' argument 3 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/dcgettext.c:50:10: note: Function 'dcgettext__' argument 3 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/bindtextdom.c:347:18: style:inconclusive: Function 'bindtextdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:193:31: note: Function 'bindtextdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/bindtextdom.c:347:18: note: Function 'bindtextdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/bindtextdom.c:348:18: style:inconclusive: Function 'bindtextdomain__' argument 2 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:193:31: note: Function 'bindtextdomain__' argument 2 names different: declaration '__dirname' definition 'dirname'. kbuild-3564/src/sed/intl/bindtextdom.c:348:18: note: Function 'bindtextdomain__' argument 2 names different: declaration '__dirname' definition 'dirname'. kbuild-3564/src/sed/intl/bindtextdom.c:358:18: style:inconclusive: Function 'bind_textdomain_codeset__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:195:40: note: Function 'bind_textdomain_codeset__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/bindtextdom.c:358:18: note: Function 'bind_textdomain_codeset__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/bindtextdom.c:359:18: style:inconclusive: Function 'bind_textdomain_codeset__' argument 2 names different: declaration '__codeset' definition 'codeset'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:195:40: note: Function 'bind_textdomain_codeset__' argument 2 names different: declaration '__codeset' definition 'codeset'. kbuild-3564/src/sed/intl/bindtextdom.c:359:18: note: Function 'bind_textdomain_codeset__' argument 2 names different: declaration '__codeset' definition 'codeset'. kbuild-3564/src/sed/intl/bindtextdom.c:254:12: style: Local variable 'len' shadows outer variable [shadowVariable] kbuild-3564/src/sed/intl/bindtextdom.c:226:14: note: Shadowed declaration kbuild-3564/src/sed/intl/bindtextdom.c:254:12: note: Shadow variable kbuild-3564/src/sed/intl/bindtextdom.c:285:15: style: Local variable 'len' shadows outer variable [shadowVariable] kbuild-3564/src/sed/intl/bindtextdom.c:226:14: note: Shadowed declaration kbuild-3564/src/sed/intl/bindtextdom.c:285:15: note: Shadow variable kbuild-3564/src/sed/intl/dcngettext.c:48:18: style:inconclusive: Function 'dcngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dcngettext.c:48:18: note: Function 'dcngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dcngettext.c:49:18: style:inconclusive: Function 'dcngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/dcngettext.c:49:18: note: Function 'dcngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/dcngettext.c:50:18: style:inconclusive: Function 'dcngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/dcngettext.c:50:18: note: Function 'dcngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/dcngettext.c:51:24: style:inconclusive: Function 'dcngettext__' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 4 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/dcngettext.c:51:24: note: Function 'dcngettext__' argument 4 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/dcngettext.c:52:10: style:inconclusive: Function 'dcngettext__' argument 5 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 5 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/dcngettext.c:52:10: note: Function 'dcngettext__' argument 5 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/dgettext.c:50:18: style:inconclusive: Function 'dgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:176:25: note: Function 'dgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dgettext.c:50:18: note: Function 'dgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dgettext.c:51:18: style:inconclusive: Function 'dgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:176:25: note: Function 'dgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/dgettext.c:51:18: note: Function 'dgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/dcigettext.c:503:10: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] kbuild-3564/src/sed/intl/dcigettext.c:550:39: style: Redundant condition: If 'EXPR == ':'', the comparison 'EXPR != '\0'' is always true. [redundantCondition] kbuild-3564/src/sed/intl/hash-string.h:40:18: style:inconclusive: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/hash-string.h:36:38: note: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. kbuild-3564/src/sed/intl/hash-string.h:40:18: note: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. kbuild-3564/src/sed/intl/dcigettext.c:392:18: style:inconclusive: Function 'dcigettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dcigettext.c:392:18: note: Function 'dcigettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dcigettext.c:393:18: style:inconclusive: Function 'dcigettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/dcigettext.c:393:18: note: Function 'dcigettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/dcigettext.c:394:18: style:inconclusive: Function 'dcigettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/dcigettext.c:394:18: note: Function 'dcigettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/dcigettext.c:395:10: style:inconclusive: Function 'dcigettext__' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 4 names different: declaration '__plural' definition 'plural'. kbuild-3564/src/sed/intl/dcigettext.c:395:10: note: Function 'dcigettext__' argument 4 names different: declaration '__plural' definition 'plural'. kbuild-3564/src/sed/intl/dcigettext.c:396:24: style:inconclusive: Function 'dcigettext__' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 5 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/dcigettext.c:396:24: note: Function 'dcigettext__' argument 5 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/dcigettext.c:397:10: style:inconclusive: Function 'dcigettext__' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 6 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/dcigettext.c:397:10: note: Function 'dcigettext__' argument 6 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/dcigettext.c:201:9: style: struct member 'known_translation_t::domainname' is never used. [unusedStructMember] kbuild-3564/src/sed/intl/dcigettext.c:204:7: style: struct member 'known_translation_t::category' is never used. [unusedStructMember] kbuild-3564/src/sed/intl/dcigettext.c:207:7: style: struct member 'known_translation_t::counter' is never used. [unusedStructMember] kbuild-3564/src/sed/intl/dcigettext.c:210:27: style: struct member 'known_translation_t::domain' is never used. [unusedStructMember] kbuild-3564/src/sed/intl/dcigettext.c:213:15: style: struct member 'known_translation_t::translation' is never used. [unusedStructMember] kbuild-3564/src/sed/intl/dcigettext.c:214:10: style: struct member 'known_translation_t::translation_length' is never used. [unusedStructMember] kbuild-3564/src/sed/intl/dcigettext.c:217:8: style: struct member 'known_translation_t::msgid' is never used. [unusedStructMember] kbuild-3564/src/sed/intl/dngettext.c:50:18: style:inconclusive: Function 'dngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:182:26: note: Function 'dngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dngettext.c:50:18: note: Function 'dngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/dngettext.c:51:18: style:inconclusive: Function 'dngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:182:26: note: Function 'dngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/dngettext.c:51:18: note: Function 'dngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/dngettext.c:52:18: style:inconclusive: Function 'dngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:182:26: note: Function 'dngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/dngettext.c:52:18: note: Function 'dngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/dngettext.c:53:24: style:inconclusive: Function 'dngettext__' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:182:26: note: Function 'dngettext__' argument 4 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/dngettext.c:53:24: note: Function 'dngettext__' argument 4 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/finddomain.c:51:18: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:129:41: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. kbuild-3564/src/sed/intl/finddomain.c:51:18: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. kbuild-3564/src/sed/intl/finddomain.c:52:12: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:129:41: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. kbuild-3564/src/sed/intl/finddomain.c:52:12: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. kbuild-3564/src/sed/intl/finddomain.c:53:18: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:129:41: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/finddomain.c:53:18: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/finddomain.c:54:22: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:129:41: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. kbuild-3564/src/sed/intl/finddomain.c:54:22: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. kbuild-3564/src/sed/intl/gettext.c:56:18: style:inconclusive: Function 'gettext__' argument 1 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:175:24: note: Function 'gettext__' argument 1 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/gettext.c:56:18: note: Function 'gettext__' argument 1 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/intl-compat.c:85:18: style:inconclusive: Function 'gettext' argument 1 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:62:22: note: Function 'gettext' argument 1 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/intl-compat.c:85:18: note: Function 'gettext' argument 1 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/intl-compat.c:93:18: style:inconclusive: Function 'dgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:66:23: note: Function 'dgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:93:18: note: Function 'dgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:94:18: style:inconclusive: Function 'dgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:66:23: note: Function 'dgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/intl-compat.c:94:18: note: Function 'dgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/intl-compat.c:102:18: style:inconclusive: Function 'dcgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:71:24: note: Function 'dcgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:102:18: note: Function 'dcgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:103:18: style:inconclusive: Function 'dcgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:71:24: note: Function 'dcgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/intl-compat.c:103:18: note: Function 'dcgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. kbuild-3564/src/sed/intl/intl-compat.c:104:10: style:inconclusive: Function 'dcgettext' argument 3 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:71:24: note: Function 'dcgettext' argument 3 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/intl-compat.c:104:10: note: Function 'dcgettext' argument 3 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/intl-compat.c:112:18: style:inconclusive: Function 'ngettext' argument 1 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:78:23: note: Function 'ngettext' argument 1 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/intl-compat.c:112:18: note: Function 'ngettext' argument 1 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/intl-compat.c:113:18: style:inconclusive: Function 'ngettext' argument 2 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:78:23: note: Function 'ngettext' argument 2 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/intl-compat.c:113:18: note: Function 'ngettext' argument 2 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/intl-compat.c:114:24: style:inconclusive: Function 'ngettext' argument 3 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:78:23: note: Function 'ngettext' argument 3 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/intl-compat.c:114:24: note: Function 'ngettext' argument 3 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/intl-compat.c:122:18: style:inconclusive: Function 'dngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:84:24: note: Function 'dngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:122:18: note: Function 'dngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:123:18: style:inconclusive: Function 'dngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:84:24: note: Function 'dngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/intl-compat.c:123:18: note: Function 'dngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/intl-compat.c:124:18: style:inconclusive: Function 'dngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:84:24: note: Function 'dngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/intl-compat.c:124:18: note: Function 'dngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/intl-compat.c:125:24: style:inconclusive: Function 'dngettext' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:84:24: note: Function 'dngettext' argument 4 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/intl-compat.c:125:24: note: Function 'dngettext' argument 4 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/intl-compat.c:133:18: style:inconclusive: Function 'dcngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:133:18: note: Function 'dcngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:134:18: style:inconclusive: Function 'dcngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/intl-compat.c:134:18: note: Function 'dcngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/intl-compat.c:135:18: style:inconclusive: Function 'dcngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/intl-compat.c:135:18: note: Function 'dcngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/intl-compat.c:136:24: style:inconclusive: Function 'dcngettext' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 4 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/intl-compat.c:136:24: note: Function 'dcngettext' argument 4 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/intl-compat.c:137:10: style:inconclusive: Function 'dcngettext' argument 5 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 5 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/intl-compat.c:137:10: note: Function 'dcngettext' argument 5 names different: declaration '__category' definition 'category'. kbuild-3564/src/sed/intl/intl-compat.c:145:18: style:inconclusive: Function 'textdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:101:25: note: Function 'textdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:145:18: note: Function 'textdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:153:18: style:inconclusive: Function 'bindtextdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:105:29: note: Function 'bindtextdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:153:18: note: Function 'bindtextdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:154:18: style:inconclusive: Function 'bindtextdomain' argument 2 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:105:29: note: Function 'bindtextdomain' argument 2 names different: declaration '__dirname' definition 'dirname'. kbuild-3564/src/sed/intl/intl-compat.c:154:18: note: Function 'bindtextdomain' argument 2 names different: declaration '__dirname' definition 'dirname'. kbuild-3564/src/sed/intl/intl-compat.c:162:18: style:inconclusive: Function 'bind_textdomain_codeset' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:110:38: note: Function 'bind_textdomain_codeset' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:162:18: note: Function 'bind_textdomain_codeset' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/intl-compat.c:163:18: style:inconclusive: Function 'bind_textdomain_codeset' argument 2 names different: declaration '__codeset' definition 'codeset'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/libgnuintl.h:110:38: note: Function 'bind_textdomain_codeset' argument 2 names different: declaration '__codeset' definition 'codeset'. kbuild-3564/src/sed/intl/intl-compat.c:163:18: note: Function 'bind_textdomain_codeset' argument 2 names different: declaration '__codeset' definition 'codeset'. kbuild-3564/src/sed/intl/loadmsgcat.c:340:2: error: Resource leak: fd [resourceLeak] kbuild-3564/src/sed/intl/loadmsgcat.c:376:7: error: Resource leak: fd [resourceLeak] kbuild-3564/src/sed/intl/loadmsgcat.c:381:5: error: Resource leak: fd [resourceLeak] kbuild-3564/src/sed/intl/loadmsgcat.c:333:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] kbuild-3564/src/sed/intl/loadmsgcat.c:278:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. kbuild-3564/src/sed/intl/loadmsgcat.c:333:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. kbuild-3564/src/sed/intl/loadmsgcat.c:132:30: style:inconclusive: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:139:34: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. kbuild-3564/src/sed/intl/loadmsgcat.c:132:30: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. kbuild-3564/src/sed/intl/loadmsgcat.c:133:28: style:inconclusive: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:139:34: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. kbuild-3564/src/sed/intl/loadmsgcat.c:133:28: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. kbuild-3564/src/sed/intl/loadmsgcat.c:134:22: style:inconclusive: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:139:34: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. kbuild-3564/src/sed/intl/loadmsgcat.c:134:22: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. kbuild-3564/src/sed/intl/loadmsgcat.c:247:28: style:inconclusive: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:143:27: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. kbuild-3564/src/sed/intl/loadmsgcat.c:247:28: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. kbuild-3564/src/sed/intl/loadmsgcat.c:268:30: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:134:22: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. kbuild-3564/src/sed/intl/loadmsgcat.c:268:30: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. kbuild-3564/src/sed/intl/loadmsgcat.c:269:22: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:134:22: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. kbuild-3564/src/sed/intl/loadmsgcat.c:269:22: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. kbuild-3564/src/sed/intl/localcharset.c:248:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] kbuild-3564/src/sed/intl/localcharset.c:239:24: note: Assignment 'locale=NULL', assigned value is 0 kbuild-3564/src/sed/intl/localcharset.c:248:14: note: Condition 'locale==NULL' is always true kbuild-3564/src/sed/intl/localcharset.c:172:5: error: Common realloc mistake: 'res_ptr' nulled but not freed upon failure [memleakOnRealloc] kbuild-3564/src/sed/intl/localealias.c:157:41: error: Uninitialized variable: &item.value [uninitvar] kbuild-3564/src/sed/intl/ngettext.c:58:18: style:inconclusive: Function 'ngettext__' argument 1 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:180:25: note: Function 'ngettext__' argument 1 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/ngettext.c:58:18: note: Function 'ngettext__' argument 1 names different: declaration '__msgid1' definition 'msgid1'. kbuild-3564/src/sed/intl/ngettext.c:59:18: style:inconclusive: Function 'ngettext__' argument 2 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:180:25: note: Function 'ngettext__' argument 2 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/ngettext.c:59:18: note: Function 'ngettext__' argument 2 names different: declaration '__msgid2' definition 'msgid2'. kbuild-3564/src/sed/intl/ngettext.c:60:24: style:inconclusive: Function 'ngettext__' argument 3 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:180:25: note: Function 'ngettext__' argument 3 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/intl/ngettext.c:60:24: note: Function 'ngettext__' argument 3 names different: declaration '__n' definition 'n'. kbuild-3564/src/sed/lib/alloca.c:153:8: style: union member 'hdr::align' is never used. [unusedStructMember] kbuild-3564/src/sed/intl/textdomain.c:81:18: style:inconclusive: Function 'textdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] kbuild-3564/src/sed/intl/gettextP.h:192:27: note: Function 'textdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/intl/textdomain.c:81:18: note: Function 'textdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. kbuild-3564/src/sed/lib/obstack.c:297:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] kbuild-3564/src/sed/lib/obstack.c:327:14: style: Parameter 'obj' can be declared as pointer to const [constParameter] kbuild-3564/src/sed/lib/obstack.c:61:23: style: struct member 'fooalign::x' is never used. [unusedStructMember] kbuild-3564/src/sed/lib/obstack.c:61:33: style: struct member 'fooalign::d' is never used. [unusedStructMember] kbuild-3564/src/sed/lib/obstack.c:67:22: style: union member 'fooround::x' is never used. [unusedStructMember] kbuild-3564/src/sed/lib/obstack.c:67:32: style: union member 'fooround::d' is never used. [unusedStructMember] kbuild-3564/src/sed/lib/regcomp.c:135:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] kbuild-3564/src/sed/lib/regex_internal.c:1325:12: style: Variable 'type' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/sed/lib/regexec.c:1417:37: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/sed/lib/regexec.c:3323:42: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/sed/lib/regexec.c:3361:7: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] kbuild-3564/src/sed/lib/regexec.c:1675:11: style: Condition '!naccepted' is always true [knownConditionTrueFalse] kbuild-3564/src/sed/lib/regexec.c:1659:23: note: Assignment 'naccepted=0', assigned value is 0 kbuild-3564/src/sed/lib/regexec.c:1675:11: note: Condition '!naccepted' is always true kbuild-3564/src/sed/lib/regexec.c:3089:11: style: Condition 'naccepted' is always false [knownConditionTrueFalse] kbuild-3564/src/sed/lib/regexec.c:3044:23: note: Assignment 'naccepted=0', assigned value is 0 kbuild-3564/src/sed/lib/regexec.c:3089:11: note: Condition 'naccepted' is always false kbuild-3564/src/sed/lib/regexec.c:3039:21: style: Variable 'err' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/sed/lib/regexec.c:400:7: style: Condition 'free_str' is always false [knownConditionTrueFalse] kbuild-3564/src/sed/lib/regexec.c:371:18: note: Assignment 'free_str=0', assigned value is 0 kbuild-3564/src/sed/lib/regexec.c:373:7: note: Assuming condition is false kbuild-3564/src/sed/lib/regexec.c:400:7: note: Condition 'free_str' is always false kbuild-3564/src/sed/lib/regexec.c:1455:12: style: Condition 'prev_idx_match_malloced' is always true [knownConditionTrueFalse] kbuild-3564/src/sed/lib/regexec.c:1426:33: note: Assignment 'prev_idx_match_malloced=1', assigned value is 1 kbuild-3564/src/sed/lib/regexec.c:1455:12: note: Condition 'prev_idx_match_malloced' is always true kbuild-3564/src/sed/lib/regexec.c:1481:12: style: Condition 'prev_idx_match_malloced' is always true [knownConditionTrueFalse] kbuild-3564/src/sed/lib/regexec.c:1426:33: note: Assignment 'prev_idx_match_malloced=1', assigned value is 1 kbuild-3564/src/sed/lib/regexec.c:1481:12: note: Condition 'prev_idx_match_malloced' is always true kbuild-3564/src/sed/lib/regexec.c:1488:7: style: Condition 'prev_idx_match_malloced' is always true [knownConditionTrueFalse] kbuild-3564/src/sed/lib/regexec.c:1426:33: note: Assignment 'prev_idx_match_malloced=1', assigned value is 1 kbuild-3564/src/sed/lib/regexec.c:1488:7: note: Condition 'prev_idx_match_malloced' is always true kbuild-3564/src/sed/lib/regex_internal.h:215:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] kbuild-3564/src/sed/lib/utils.c:208:16: warning: Either the condition 'fd==-1' is redundant or fdopen() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] kbuild-3564/src/sed/lib/utils.c:204:10: note: Assuming that condition 'fd==-1' is not redundant kbuild-3564/src/sed/lib/utils.c:208:16: note: Invalid argument kbuild-3564/src/sed/lib/utils.c:344:17: style: Condition 'errno!=0' is always false [knownConditionTrueFalse] kbuild-3564/src/sed/lib/utils.c:340:15: note: Assignment 'errno=0', assigned value is 0 kbuild-3564/src/sed/lib/utils.c:344:17: note: Condition 'errno!=0' is always false kbuild-3564/src/sed/lib/utils.c:243:55: style: Checking if unsigned expression 'nmemb=fread(ptr,size,nmemb,stream)' is less than zero. [unsignedLessThanZero] kbuild-3564/src/sed/lib/utils.c:121:9: style: Parameter 'fp' can be declared as pointer to const [constParameter] kbuild-3564/src/sed/lib/utils.c:278:9: style: Parameter 'stream' can be declared as pointer to const [constParameter] kbuild-3564/src/sed/lib/utils.c:262:10: warning: Uninitialized variable: result [uninitvar] kbuild-3564/src/sed/lib/utils.c:256:7: note: Assuming condition is false kbuild-3564/src/sed/lib/utils.c:262:10: note: Uninitialized variable: result kbuild-3564/src/sed/lib/utils.c:317:7: style: Unused variable: fd [unusedVariable] kbuild-3564/src/sed/sed/compile.c:259:8: error: There is an unknown macro here somewhere. Configuration is required. If CAST is a macro then please configure it. [unknownMacro] kbuild-3564/src/sed/lib/regcomp.c:2428:27: style:inconclusive: Function 'parse_dup_op' argument 1 names different: declaration 'dup_elem' definition 'elem'. [funcArgNamesDifferent] kbuild-3564/src/sed/lib/regcomp.c:74:46: note: Function 'parse_dup_op' argument 1 names different: declaration 'dup_elem' definition 'elem'. kbuild-3564/src/sed/lib/regcomp.c:2428:27: note: Function 'parse_dup_op' argument 1 names different: declaration 'dup_elem' definition 'elem'. kbuild-3564/src/sed/lib/regcomp.c:3774:35: style:inconclusive: Function 'duplicate_tree' argument 1 names different: declaration 'src' definition 'root'. [funcArgNamesDifferent] kbuild-3564/src/sed/lib/regcomp.c:119:54: note: Function 'duplicate_tree' argument 1 names different: declaration 'src' definition 'root'. kbuild-3564/src/sed/lib/regcomp.c:3774:35: note: Function 'duplicate_tree' argument 1 names different: declaration 'src' definition 'root'. kbuild-3564/src/sed/lib/regexec.c:1996:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] kbuild-3564/src/sed/lib/regexec.c:109:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. kbuild-3564/src/sed/lib/regexec.c:1996:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. kbuild-3564/src/sed/lib/regexec.c:3526:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] kbuild-3564/src/sed/lib/regexec.c:196:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. kbuild-3564/src/sed/lib/regexec.c:3526:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. kbuild-3564/src/sed/lib/regexec.c:4123:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] kbuild-3564/src/sed/lib/regexec.c:21:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. kbuild-3564/src/sed/lib/regexec.c:4123:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. kbuild-3564/src/sed/lib/regexec.c:4181:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] kbuild-3564/src/sed/lib/regexec.c:24:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. kbuild-3564/src/sed/lib/regexec.c:4181:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. kbuild-3564/src/sed/lib/regexec.c:4196:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] kbuild-3564/src/sed/lib/regexec.c:25:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. kbuild-3564/src/sed/lib/regexec.c:4196:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. kbuild-3564/src/sed/sed/execute.c:118:3: error: There is an unknown macro here somewhere. Configuration is required. If bool is a macro then please configure it. [unknownMacro] kbuild-3564/src/sed/lib/regcomp.c:1657:16: style: Variable 'org_node' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/sed/lib/regcomp.c:1657:27: style: Variable 'cur_node' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/sed/lib/regcomp.c:3777:15: style: Variable 'dup_root' is not assigned a value. [unassignedVariable] kbuild-3564/src/sed/lib/regexec.c:230:17: style: Variable 'dfa' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/sed/lib/regexec.c:421:13: style: Variable 'dfa' is assigned a value that is never used. [unreadVariable] kbuild-3564/src/sed/sed/fmt.c:535:31: style: Parameter 'finish' can be declared as pointer to const [constParameter] kbuild-3564/src/sed/sed/sed.c:281:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] kbuild-3564/src/sed/testsuite/bug-regex12.c:63:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/bug-regex12.c:71:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/bug-regex12.c:69:26: error: Uninitialized variable: rm [legacyUninitvar] kbuild-3564/src/sed/testsuite/bug-regex11.c:112:4: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/bug-regex11.c:119:4: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/bug-regex11.c:131:6: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/bug-regex16.c:19:51: warning: Either the condition 's==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] kbuild-3564/src/sed/testsuite/bug-regex16.c:17:9: note: Assuming that condition 's==NULL' is not redundant kbuild-3564/src/sed/testsuite/bug-regex16.c:19:51: note: Null pointer dereference kbuild-3564/src/sed/testsuite/bug-regex16.c:25:51: warning: Either the condition 's==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] kbuild-3564/src/sed/testsuite/bug-regex16.c:23:9: note: Assuming that condition 's==NULL' is not redundant kbuild-3564/src/sed/testsuite/bug-regex16.c:25:51: note: Null pointer dereference kbuild-3564/src/sed/testsuite/bug-regex16.c:31:51: warning: Either the condition 's==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] kbuild-3564/src/sed/testsuite/bug-regex16.c:29:9: note: Assuming that condition 's==NULL' is not redundant kbuild-3564/src/sed/testsuite/bug-regex16.c:31:51: note: Null pointer dereference kbuild-3564/src/sed/testsuite/bug-regex8.c:59:3: error: Memory pointed to by 'buffer' is freed twice. [doubleFree] kbuild-3564/src/sed/testsuite/bug-regex8.c:47:3: note: Memory pointed to by 'buffer' is freed twice. kbuild-3564/src/sed/testsuite/bug-regex8.c:59:3: note: Memory pointed to by 'buffer' is freed twice. kbuild-3564/src/sed/testsuite/tst-pcre.c:106:8: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:115:8: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:125:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:145:8: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:154:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:169:8: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:188:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:197:8: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:212:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:221:8: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:221:8: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] kbuild-3564/src/sed/testsuite/tst-pcre.c:234:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] kbuild-3564/src/sed/testsuite/tst-pcre.c:234:4: warning: %ld in format string (no. 5) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] kbuild-3564/src/sed/testsuite/tst-pcre.c:122:8: error: Common realloc mistake: 'pattern' nulled but not freed upon failure [memleakOnRealloc] kbuild-3564/src/sed/testsuite/tst-pcre.c:151:8: error: Common realloc mistake: 'string' nulled but not freed upon failure [memleakOnRealloc] kbuild-3564/src/sed/testsuite/tst-rxspencer.c:451:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] kbuild-3564/src/sed/testsuite/tst-rxspencer.c:458:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] kbuild-3564/src/sed/testsuite/tst-rxspencer.c:462:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] kbuild-3564/src/sed/testsuite/tst-rxspencer.c:514:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] kbuild-3564/src/sed/testsuite/tst-rxspencer.c:519:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] kbuild-3564/tests/dummy_defined_X.c:28:0: error: #error "X isn't defined, test the is busted." [preprocessorErrorDirective] kbuild-3564/tests/dummy_defined_Y.c:28:0: error: #error "Y isn't defined, test the is busted." [preprocessorErrorDirective] diff: head kbuild-3564/src/grep/gnulib-tests/test-ftruncate.c:30:23: style: Parameter 'argv' can be declared as const array [constParameter] 2.8 kbuild-3564/src/grep/gnulib-tests/test-ftruncate.c:30:23: style: Parameter 'argv' can be declared with const [constParameter] head kbuild-3564/src/grep/gnulib-tests/test-thread_create.c:49:13: style: Variable 'ret' can be declared as pointer to const [constVariable] 2.8 kbuild-3564/src/grep/gnulib-tests/test-thread_create.c:49:13: style: Variable 'ret' can be declared with const [constVariable] head kbuild-3564/src/grep/lib/obstack.c:240:48: style: Parameter 'obj' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/grep/lib/obstack.c:240:48: style: Parameter 'obj' can be declared with const [constParameter] head kbuild-3564/src/grep/lib/strtol.c:324:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] kbuild-3564/src/grep/lib/strtol.c:317:11: note: Assignment 'end=NULL', assigned value is 0 kbuild-3564/src/grep/lib/strtol.c:326:13: note: Assuming that condition 's==end' is not redundant kbuild-3564/src/grep/lib/strtol.c:298:10: note: Assignment 'save=s', assigned value is 0 kbuild-3564/src/grep/lib/strtol.c:298:8: note: save is assigned 's' here. kbuild-3564/src/grep/lib/strtol.c:324:13: note: Null pointer dereference 2.8 kbuild-3564/src/grep/lib/strtol.c:324:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] kbuild-3564/src/grep/lib/strtol.c:326:13: note: Assuming that condition 's==end' is not redundant kbuild-3564/src/grep/lib/strtol.c:298:10: note: Assignment 'save=s', assigned value is 0 kbuild-3564/src/grep/lib/strtol.c:298:8: note: save is assigned 's' here. kbuild-3564/src/grep/lib/strtol.c:324:13: note: Null pointer dereference 2.8 kbuild-3564/src/grep/src/grep.c:1164:22: error: Uninitialized variable: fillsize [uninitvar] kbuild-3564/src/grep/src/grep.c:1132:10: note: Assuming condition is false kbuild-3564/src/grep/src/grep.c:1164:22: note: Uninitialized variable: fillsize head kbuild-3564/src/grep/src/grep.c:1164:22: warning: Uninitialized variable: fillsize [uninitvar] kbuild-3564/src/grep/src/grep.c:1132:10: note: Assuming condition is false kbuild-3564/src/grep/src/grep.c:1164:22: note: Uninitialized variable: fillsize 2.8 kbuild-3564/src/grep/src/grep.c:2304:10: error: Uninitialized variable: opt [uninitvar] kbuild-3564/src/grep/src/grep.c:2264:10: note: Assuming condition is false kbuild-3564/src/grep/src/grep.c:2304:10: note: Uninitialized variable: opt head kbuild-3564/src/grep/src/grep.c:2304:10: warning: Uninitialized variable: opt [uninitvar] kbuild-3564/src/grep/src/grep.c:2264:10: note: Assuming condition is false kbuild-3564/src/grep/src/grep.c:2304:10: note: Uninitialized variable: opt head kbuild-3564/src/grep/src/kwset.c:818:45: warning: Either the condition '!tree' is redundant or there is possible null pointer dereference: tree. [nullPointerRedundantCheck] kbuild-3564/src/grep/src/kwset.c:821:23: note: Assuming that condition '!tree' is not redundant kbuild-3564/src/grep/src/kwset.c:818:45: note: Null pointer dereference 2.8 kbuild-3564/src/grep/src/kwset.c:841:22: warning: Either the condition '!tree' is redundant or there is possible null pointer dereference: tree. [nullPointerRedundantCheck] kbuild-3564/src/grep/src/kwset.c:821:23: note: Assuming that condition '!tree' is not redundant kbuild-3564/src/grep/src/kwset.c:841:22: note: Null pointer dereference head kbuild-3564/src/kash/eval.c:367:27: warning: Uninitialized variable: sp [uninitvar] kbuild-3564/src/kash/eval.c:359:29: note: Assuming condition is false kbuild-3564/src/kash/eval.c:367:19: note: Assignment 'sp=arglist.list', assigned value is kbuild-3564/src/kash/eval.c:367:27: note: Uninitialized variable: sp head kbuild-3564/src/kash/memalloc.c:641:70: style: Parameter 'end' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/kash/memalloc.c:641:70: style: Parameter 'end' can be declared with const [constParameter] 2.8 kbuild-3564/src/kmk/kmkbuiltin/cat.c:208:37: style: Parameter 'argv' can be declared with const [constParameter] head kbuild-3564/src/kmk/kmkbuiltin/expr.c:84:61: style: Parameter 'ptr' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/kmk/kmkbuiltin/expr.c:84:61: style: Parameter 'ptr' can be declared with const [constParameter] head kbuild-3564/src/kmk/kmkbuiltin/fts.c:640:7: style: Parameter 'sp' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/kmk/kmkbuiltin/fts.c:640:7: style: Parameter 'sp' can be declared with const [constParameter] head kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:226:93: style: Parameter 'paiPageMap' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:226:93: style: Parameter 'paiPageMap' can be declared with const [constParameter] head kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:502:93: style: Parameter 'paiPageMap' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/kmk/kmkbuiltin/kDepIDB.c:502:93: style: Parameter 'paiPageMap' can be declared with const [constParameter] head kbuild-3564/src/kmk/kmkbuiltin/md5sum.c:83:44: style: Parameter 'pDigest' can be declared as const array [constParameter] 2.8 kbuild-3564/src/kmk/kmkbuiltin/md5sum.c:83:44: style: Parameter 'pDigest' can be declared with const [constParameter] head kbuild-3564/src/kmk/kmkbuiltin/md5sum.c:88:21: style: Variable 's_achDigits' can be declared as const array [constVariable] 2.8 kbuild-3564/src/kmk/kmkbuiltin/md5sum.c:88:21: style: Variable 's_achDigits' can be declared with const [constVariable] 2.8 kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:257:25: error: Uninitialized variable: numask [uninitvar] kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:233:7: note: Assuming condition is false kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:257:25: note: Uninitialized variable: numask head kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:257:25: warning: Uninitialized variable: numask [uninitvar] kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:233:7: note: Assuming condition is false kbuild-3564/src/kmk/kmkbuiltin/mkdir.c:257:25: note: Uninitialized variable: numask head kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:351:25: style: Parameter 'pszX' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/kmk/kmkbuiltin/mscfakes.c:351:25: style: Parameter 'pszX' can be declared with const [constParameter] head kbuild-3564/src/kmk/kmkbuiltin/redirect.c:343:40: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head kbuild-3564/src/kmk/kmkbuiltin/redirect.c:367:44: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head kbuild-3564/src/kmk/w32/subproc/sub_proc.c:590:15: style: Parameter 'as_user' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/kmk/w32/subproc/sub_proc.c:590:15: style: Parameter 'as_user' can be declared with const [constParameter] head kbuild-3564/src/lib/kStuff/kProfiler2/kProfileR3.cpp:1589:17: style: Variable 's_szDigits' can be declared as const array [constVariable] 2.8 kbuild-3564/src/lib/kStuff/kProfiler2/kProfileR3.cpp:1589:17: style: Variable 's_szDigits' can be declared with const [constVariable] head kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:347:67: style: Parameter 'pv' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/lib/kStuff/kRdr/kRdrFile.cpp:347:67: style: Parameter 'pv' can be declared with const [constParameter] head kbuild-3564/src/lib/md5.c:168:41: style: Parameter 'in' can be declared as const array [constParameter] 2.8 kbuild-3564/src/lib/md5.c:168:41: style: Parameter 'in' can be declared with const [constParameter] 2.8 kbuild-3564/src/lib/nt/ntstat.c:399:24: error: Uninitialized variable: BasicInfo.FileAttributes [uninitvar] kbuild-3564/src/lib/nt/ntstat.c:373:9: note: Assuming condition is false kbuild-3564/src/lib/nt/ntstat.c:399:24: note: Uninitialized variable: BasicInfo.FileAttributes head kbuild-3564/src/lib/nt/ntstat.c:399:24: warning: Uninitialized variable: BasicInfo.FileAttributes [uninitvar] kbuild-3564/src/lib/nt/ntstat.c:373:9: note: Assuming condition is false kbuild-3564/src/lib/nt/ntstat.c:399:24: note: Uninitialized variable: BasicInfo.FileAttributes 2.8 kbuild-3564/src/sed/intl/finddomain.c:105:38: warning: Either the condition 'cnt>=0' is redundant or the array 'retval->successor[1]' is accessed at index -1, which is out of bounds. [negativeIndex] kbuild-3564/src/sed/intl/finddomain.c:113:18: note: Assuming that condition 'cnt>=0' is not redundant kbuild-3564/src/sed/intl/finddomain.c:105:38: note: Negative array index head kbuild-3564/src/sed/lib/obstack.c:327:14: style: Parameter 'obj' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/sed/lib/obstack.c:327:14: style: Parameter 'obj' can be declared with const [constParameter] head kbuild-3564/src/sed/lib/regex_internal.h:215:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head kbuild-3564/src/sed/lib/utils.c:121:9: style: Parameter 'fp' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/sed/lib/utils.c:121:9: style: Parameter 'fp' can be declared with const [constParameter] 2.8 kbuild-3564/src/sed/lib/utils.c:262:10: error: Uninitialized variable: result [uninitvar] kbuild-3564/src/sed/lib/utils.c:256:7: note: Assuming condition is false kbuild-3564/src/sed/lib/utils.c:262:10: note: Uninitialized variable: result head kbuild-3564/src/sed/lib/utils.c:262:10: warning: Uninitialized variable: result [uninitvar] kbuild-3564/src/sed/lib/utils.c:256:7: note: Assuming condition is false kbuild-3564/src/sed/lib/utils.c:262:10: note: Uninitialized variable: result head kbuild-3564/src/sed/lib/utils.c:278:9: style: Parameter 'stream' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/sed/lib/utils.c:278:9: style: Parameter 'stream' can be declared with const [constParameter] head kbuild-3564/src/sed/sed/fmt.c:535:31: style: Parameter 'finish' can be declared as pointer to const [constParameter] 2.8 kbuild-3564/src/sed/sed/fmt.c:535:31: style: Parameter 'finish' can be declared with const [constParameter] DONE