2025-11-23 18:49 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-slam/r-cran-slam_0.1-55.orig.tar.gz 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-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 21 46 elapsed-time: 0.2 0.6 head-timing-info: old-timing-info: head results: slam/src/dll.c:55:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] slam/src/sparse.c:13:0: error: failed to evaluate #if condition, undefined function-like macro invocation: R_Version( ... ) [syntaxError] slam/src/apply.c:47:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rcomplex [valueFlowBailoutIncompleteVar] slam/src/grouped.c:24:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] slam/src/apply.c:101:4: style: Local variable 'i' shadows outer variable [shadowVariable] slam/src/apply.c:91:14: note: Shadowed declaration slam/src/apply.c:101:4: note: Shadow variable slam/src/apply.c:111:4: style: Local variable 'i' shadows outer variable [shadowVariable] slam/src/apply.c:91:14: note: Shadowed declaration slam/src/apply.c:111:4: note: Shadow variable slam/src/apply.c:121:4: style: Local variable 'i' shadows outer variable [shadowVariable] slam/src/apply.c:91:14: note: Shadowed declaration slam/src/apply.c:121:4: note: Shadow variable slam/src/apply.c:133:4: style: Local variable 'i' shadows outer variable [shadowVariable] slam/src/apply.c:91:14: note: Shadowed declaration slam/src/apply.c:133:4: note: Shadow variable slam/src/apply.c:144:4: style: Local variable 'i' shadows outer variable [shadowVariable] slam/src/apply.c:91:14: note: Shadowed declaration slam/src/apply.c:144:4: note: Shadow variable slam/src/apply.c:154:4: style: Local variable 'i' shadows outer variable [shadowVariable] slam/src/apply.c:91:14: note: Shadowed declaration slam/src/apply.c:154:4: note: Shadow variable slam/src/apply.c:24:16: style: Variable '_ix' can be declared as pointer to const [constVariablePointer] slam/src/apply.c:24:22: style: Variable '_jx' can be declared as pointer to const [constVariablePointer] slam/src/util.c:15:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_LevelsSymbol [valueFlowBailoutIncompleteVar] slam/src/util.c:39:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] slam/src/util.c:94:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] slam/src/util.c:207:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] slam/src/util.c:234:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] slam/src/util.c:326:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] slam/src/util.c:429:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimNamesSymbol [valueFlowBailoutIncompleteVar] slam/src/util.c:438:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] slam/src/util.c:453:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimSymbol [valueFlowBailoutIncompleteVar] diff: 2.18.0 slam/src/sparse.c:102:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 slam/src/sparse.c:110:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NamesSymbol [valueFlowBailoutIncompleteVar] 2.18.0 slam/src/sparse.c:134:12: style: Variable 'xj' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:134:7: style: Variable 'xi' can be declared as pointer to const [constVariablePointer] head slam/src/sparse.c:13:0: error: failed to evaluate #if condition, undefined function-like macro invocation: R_Version( ... ) [syntaxError] 2.18.0 slam/src/sparse.c:169:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 slam/src/sparse.c:178:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] 2.18.0 slam/src/sparse.c:215:11: style: Variable 'k' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:237:14: style: Variable 'k' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:255:16: style: Variable 'k' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:312:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] 2.18.0 slam/src/sparse.c:421:7: style: Variable '__i' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:422:10: style: Variable '__v' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:476:13: style: Variable '_jy' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:51:8: style: Variable 'v' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:531:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimSymbol [valueFlowBailoutIncompleteVar] 2.18.0 slam/src/sparse.c:589:14: style: Variable 'k' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:590:14: style: Variable 'l' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:59:11: style: Variable 'v' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:601:14: style: Variable 'k' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:605:14: style: Variable 'l' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:67:18: style: Variable 'v' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:746:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NamesSymbol [valueFlowBailoutIncompleteVar] 2.18.0 slam/src/sparse.c:759:12: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:75:13: style: Variable 'v' can be declared as pointer to const [constVariablePointer] 2.18.0 slam/src/sparse.c:77:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 slam/src/sparse.c:810:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] DONE