2025-09-15 21:36 ftp://ftp.de.debian.org/debian/pool/main/r/rcs/rcs_5.10.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.43+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 3e169d6 (2025-09-15 13:38:15 +0200) count: 217 217 elapsed-time: 0.8 0.8 head-timing-info: old-timing-info: head results: rcs-5.10.1/lib/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] rcs-5.10.1/lib/openat.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/openat.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/calloc.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/chdir-long.c:33:0: error: #error "compile this file only if your system defines PATH_MAX" [preprocessorErrorDirective] rcs-5.10.1/lib/chdir-long.c:33:3: error: #error "compile this file only if your system defines PATH_MAX" [preprocessorErrorDirective] rcs-5.10.1/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/basename-lgpl.c:60:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] rcs-5.10.1/lib/closedir.c:58:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/dirfd.c:84:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/dup-safer-flag.c:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/dup-safer.c:33:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/dirname-lgpl.c:38:35: style: Condition 'prefix_length!=0' is always false [knownConditionTrueFalse] rcs-5.10.1/lib/dirname-lgpl.c:34:26: note: Assignment 'prefix_length=((void)(file),0)', assigned value is 0 rcs-5.10.1/lib/dirname-lgpl.c:38:35: note: Condition 'prefix_length!=0' is always false rcs-5.10.1/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/error.c:142:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] rcs-5.10.1/lib/error.c:142:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] rcs-5.10.1/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/fchdir.c:140:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/fchdir.c:164:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/fchdir.c:191:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/fd-safer-flag.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/fd-safer.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/xalloc.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/xalloc.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/stat-time.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/stat-time.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/getlogin_r.c:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/getlogin_r.c:99:7: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] rcs-5.10.1/lib/getlogin_r.c:95:9: style: Variable 'n' can be declared as pointer to const [constVariablePointer] rcs-5.10.1/lib/getprogname.c:291:0: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] rcs-5.10.1/lib/getprogname.c:291:4: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] rcs-5.10.1/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. rcs-5.10.1/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. rcs-5.10.1/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. rcs-5.10.1/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. rcs-5.10.1/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. rcs-5.10.1/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. rcs-5.10.1/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. rcs-5.10.1/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. rcs-5.10.1/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. rcs-5.10.1/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. rcs-5.10.1/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. rcs-5.10.1/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. rcs-5.10.1/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. rcs-5.10.1/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. rcs-5.10.1/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. rcs-5.10.1/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. rcs-5.10.1/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. rcs-5.10.1/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. rcs-5.10.1/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. rcs-5.10.1/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. rcs-5.10.1/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. rcs-5.10.1/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. rcs-5.10.1/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. rcs-5.10.1/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. rcs-5.10.1/lib/timespec.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/timespec.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/getrandom.c:169:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_RANDOM [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/gettimeofday.c:143:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] rcs-5.10.1/lib/gettimeofday.c:143:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] rcs-5.10.1/lib/getrandom.c:178:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rcs-5.10.1/lib/getcwd.c:234:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/ialloc.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/ialloc.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/isnan.c:80:24: style: union member 'memory_double::value' is never used. [unusedStructMember] rcs-5.10.1/lib/isnan.c:80:44: style: union member 'memory_double::word' is never used. [unusedStructMember] rcs-5.10.1/lib/getopt.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/getopt.c:621:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/malloc.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/mkdir.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/getcwd.c:350:19: style: Condition '!match' is always false [knownConditionTrueFalse] rcs-5.10.1/lib/getcwd.c:349:55: note: Assignment 'match=true||mount_point', assigned value is 1 rcs-5.10.1/lib/getcwd.c:350:19: note: Condition '!match' is always false rcs-5.10.1/lib/open.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/getcwd.c:265:24: style: Variable 'd' can be declared as pointer to const [constVariablePointer] rcs-5.10.1/lib/obstack.c:339:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/openat-proc.c:78:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/opendir.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/pipe-safer.c:41:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/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] rcs-5.10.1/lib/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] rcs-5.10.1/lib/printf-frexp.c:135:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN_EXP [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/printf-frexp.c:135:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDBL_MIN_EXP [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/gettext.h:247:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] rcs-5.10.1/lib/gettext.h:239:15: note: Array decayed to pointer here. rcs-5.10.1/lib/gettext.h:226:8: note: Variable created here. rcs-5.10.1/lib/gettext.h:247:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. rcs-5.10.1/lib/xsize.h:34:0: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/xsize.h:34:3: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/obstack.c:138:35: error: Pointer addition with NULL pointer. [nullPointerArithmetic] rcs-5.10.1/lib/obstack.c:208:5: error: Pointer addition with NULL pointer. [nullPointerArithmetic] rcs-5.10.1/lib/obstack.c:218:14: error: Pointer addition with NULL pointer. [nullPointerArithmetic] rcs-5.10.1/lib/progname.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/obstack.c:240:48: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] rcs-5.10.1/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/readdir.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/realloc.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/rewinddir.c:34:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/save-cwd.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/scandir.c:120:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/sig-handler.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/sig-handler.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] rcs-5.10.1/lib/sigaction.c:55:0: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] rcs-5.10.1/lib/sigaction.c:55:3: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] rcs-5.10.1/lib/scandir.c:123:8: style: Variable 'c.dp' is assigned a value that is never used. [unreadVariable] rcs-5.10.1/lib/scandir.c:162:19: style: Variable 'c.v' is assigned a value that is never used. [unreadVariable] rcs-5.10.1/lib/signbitd.c:59:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MANT_BIT [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/signbitf.c:59:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MANT_BIT [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/reallocarray.c:33:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/signbitl.c:59:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDBL_MANT_BIT [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/sigprocmask.c:116:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/sigprocmask.c:139:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/sigprocmask.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/sigprocmask.c:180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/sigprocmask.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/sigprocmask.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/sigprocmask.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/sigprocmask.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/strerror.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/getopt.c:471:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. rcs-5.10.1/lib/getopt.c:471:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. rcs-5.10.1/lib/getopt.c:471:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. rcs-5.10.1/lib/getopt.c:471:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. rcs-5.10.1/lib/getopt.c:471:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. rcs-5.10.1/lib/getopt.c:471:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. rcs-5.10.1/lib/getopt.c:472:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. rcs-5.10.1/lib/getopt.c:472:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. rcs-5.10.1/lib/getopt.c:472:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. rcs-5.10.1/lib/getopt.c:472:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. rcs-5.10.1/lib/getopt.c:473:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. rcs-5.10.1/lib/getopt.c:473:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. rcs-5.10.1/lib/getopt.c:473:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. rcs-5.10.1/lib/getopt.c:473:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. rcs-5.10.1/lib/getopt.c:473:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. rcs-5.10.1/lib/getopt.c:473:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. rcs-5.10.1/lib/getopt.c:703:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. rcs-5.10.1/lib/getopt.c:703:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. rcs-5.10.1/lib/getopt.c:703:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. rcs-5.10.1/lib/getopt.c:703:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. rcs-5.10.1/lib/getopt.c:703:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. rcs-5.10.1/lib/getopt.c:703:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. rcs-5.10.1/lib/getopt.c:704:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. rcs-5.10.1/lib/getopt.c:704:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. rcs-5.10.1/lib/getopt.c:704:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. rcs-5.10.1/lib/getopt.c:704:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. rcs-5.10.1/lib/getopt.c:704:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. rcs-5.10.1/lib/getopt.c:704:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. rcs-5.10.1/lib/getopt.c:705:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] rcs-5.10.1/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. rcs-5.10.1/lib/getopt.c:705:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. rcs-5.10.1/lib/strerror.c:45:7: style: Condition 'msg' is always false [knownConditionTrueFalse] rcs-5.10.1/lib/strerror.c:44:21: note: Assignment 'msg=NULL', assigned value is 0 rcs-5.10.1/lib/strerror.c:45:7: note: Condition 'msg' is always false rcs-5.10.1/lib/tempname.c:85:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_NONBLOCK [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/tempname.c:179:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/tempname.c:186:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/tempname.c:194:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/tempname.c:245:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/time_r.c:37:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] rcs-5.10.1/lib/time_r.c:43:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] rcs-5.10.1/lib/strsignal.c:170:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable singlethread_value [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/strsignal.c:195:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable singlethread_value [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/tempname.c:175:17: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_file' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rcs-5.10.1/lib/tempname.c:226:21: note: You might need to cast the function pointer here rcs-5.10.1/lib/tempname.c:175:17: note: Parameter 'tmpl' can be declared as pointer to const rcs-5.10.1/lib/tempname.c:177:8: style: Variable 'openflags' can be declared as pointer to const [constVariablePointer] rcs-5.10.1/lib/tempname.c:184:16: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rcs-5.10.1/lib/tempname.c:227:20: note: You might need to cast the function pointer here rcs-5.10.1/lib/tempname.c:184:16: note: Parameter 'tmpl' can be declared as pointer to const rcs-5.10.1/lib/tempname.c:184:39: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rcs-5.10.1/lib/tempname.c:227:20: note: You might need to cast the function pointer here rcs-5.10.1/lib/tempname.c:184:39: note: Parameter 'flags' can be declared as pointer to const rcs-5.10.1/lib/tempname.c:190:21: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_nocreate' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rcs-5.10.1/lib/tempname.c:278:35: note: You might need to cast the function pointer here rcs-5.10.1/lib/tempname.c:190:21: note: Parameter 'tmpl' can be declared as pointer to const rcs-5.10.1/lib/tempname.c:244:10: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] rcs-5.10.1/lib/unlink.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/waitpid.c:29:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_CHILD [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-mutex.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-mutex.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-mutex.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-tls.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-tls.c:88:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-tls.c:220:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-tls.c:337:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rcs-5.10.1/lib/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rcs-5.10.1/src/base.h:756:13: error: There is an unknown macro here somewhere. Configuration is required. If rcswriteopen is a macro then please configure it. [unknownMacro] rcs-5.10.1/src/b-complain.h:28:3: error: There is an unknown macro here somewhere. Configuration is required. If ATTRIBUTE_NONNULL is a macro then please configure it. [unknownMacro] rcs-5.10.1/lib/reallocarray.c:31:7: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always true. [compareValueOutOfTypeRangeError] rcs-5.10.1/lib/reallocarray.c:31:7: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression 'nmemb' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:127)+(size)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:(size))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:(size))-1)<0)?~(((((1?0:(size))+1)<<((sizeof(size)*8)-2))-1)*2+1):((1?0:(size))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(size))-128))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(size))-128))-1)<0)?~(((((1?0:((1?0:(size))-128))+1)<<((sizeof((1?0:(size))-128)*8)-2))-1)*2+1):((1?0:((1?0:(size))-128))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:(nmemb))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(nmemb))-128))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(nmemb))-128))-1)<0)?~(((((1?0:((1?0:(nmemb))-128))+1)<<((sizeof((1?0:(nmemb))-128)*8)-2))-1)*2+1):((1?0:((1?0:(nmemb))-128))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:255)+(size)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(size))+0))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/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)*8)-2))-1)*2+1):((1?0:((1?0:(size))+0))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(nmemb))+0))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/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)*8)-2))-1)*2+1):((1?0:((1?0:(nmemb))+0))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '*(&nbytes)=((char)((unsigned int)(nmemb)*(unsigned int)(size)))' is less than zero. [unsignedLessThanZero] rcs-5.10.1/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] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:32767)+(size)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(size))-32768))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(size))-32768))-1)<0)?~(((((1?0:((1?0:(size))-32768))+1)<<((sizeof((1?0:(size))-32768)*8)-2))-1)*2+1):((1?0:((1?0:(size))-32768))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(nmemb))-32768))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(nmemb))-32768))-1)<0)?~(((((1?0:((1?0:(nmemb))-32768))+1)<<((sizeof((1?0:(nmemb))-32768)*8)-2))-1)*2+1):((1?0:((1?0:(nmemb))-32768))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:65535)+(size)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '*(&nbytes)=((short)((unsigned int)(nmemb)*(unsigned int)(size)))' is less than zero. [unsignedLessThanZero] rcs-5.10.1/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] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:(*(&nbytes)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:2147483647)+(size)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(size))+(-2147483647-1)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(size))+(-2147483647-1)))-1)<0)?~(((((1?0:((1?0:(size))+(-2147483647-1)))+1)<<((sizeof((1?0:(size))+(-2147483647-1))*8)-2))-1)*2+1):((1?0:((1?0:(size))+(-2147483647-1)))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(nmemb))+(-2147483647-1)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(nmemb))+(-2147483647-1)))-1)<0)?~(((((1?0:((1?0:(nmemb))+(-2147483647-1)))+1)<<((sizeof((1?0:(nmemb))+(-2147483647-1))*8)-2))-1)*2+1):((1?0:((1?0:(nmemb))+(-2147483647-1)))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:4294967295)+(size)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:9223372036854775807L)+(size)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(size))+(-9223372036854775807L-1L)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(size))+(-9223372036854775807L-1L)))-1)<0)?~(((((1?0:((1?0:(size))+(-9223372036854775807L-1L)))+1)<<((sizeof((1?0:(size))+(-9223372036854775807L-1L))*8)-2))-1)*2+1):((1?0:((1?0:(size))+(-9223372036854775807L-1L)))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:(nmemb))+(-9223372036854775807L-1L)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(((1?0:((1?0:(nmemb))+(-9223372036854775807L-1L)))-1)<0)?~(((((1?0:((1?0:(nmemb))+(-9223372036854775807L-1L)))+1)<<((sizeof((1?0:(nmemb))+(-9223372036854775807L-1L))*8)-2))-1)*2+1):((1?0:((1?0:(nmemb))+(-9223372036854775807L-1L)))+0)' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:18446744073709551615UL)+(size)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: style: Checking if unsigned expression '(1?0:((1?0:18446744073709551615ULL)+(size)))-1' is less than zero. [unsignedLessThanZero] rcs-5.10.1/lib/reallocarray.c:31:7: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] rcs-5.10.1/lib/reallocarray.c:31:7: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] rcs-5.10.1/lib/reallocarray.c:31:7: warning: Expression '-128' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] rcs-5.10.1/lib/reallocarray.c:31:7: warning: Expression '-32768' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] rcs-5.10.1/lib/reallocarray.c:31:7: warning: Expression '-2147483647-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] rcs-5.10.1/lib/reallocarray.c:31:7: warning: Expression '-9223372036854775807L-1L' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] rcs-5.10.1/src/b-complain.h:31:3: error: There is an unknown macro here somewhere. Configuration is required. If ATTRIBUTE_NONNULL is a macro then please configure it. [unknownMacro] rcs-5.10.1/tests/btdt.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rcs-5.10.1/tests/btdt.c:70:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filename [valueFlowBailoutIncompleteVar] rcs-5.10.1/tests/btdt.c:97:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filename [valueFlowBailoutIncompleteVar] rcs-5.10.1/tests/btdt.c:135:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] rcs-5.10.1/tests/btdt.c:158:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rcs-5.10.1/tests/btdt.c:243:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOG_ZONK [valueFlowBailoutIncompleteVar] rcs-5.10.1/tests/btdt.c:58:42: style: Parameter 's' can be declared as pointer to const [constParameterPointer] rcs-5.10.1/tests/btdt.c:105:21: style: Variable 'd' can be declared as pointer to const [constVariablePointer] rcs-5.10.1/tests/btdt.c:131:41: style: Parameter 'argv' can be declared as const array. However it seems that 'xorlf_do_it' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rcs-5.10.1/tests/btdt.c:203:5: note: You might need to cast the function pointer here rcs-5.10.1/tests/btdt.c:131:41: note: Parameter 'argv' can be declared as const array diff: DONE