2026-05-04 19:24 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-units/r-cran-units_1.0-1+dfsg.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 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 13 13 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: units/src/RcppExports.cpp:24:1: error: There is an unknown macro here somewhere. Configuration is required. If END_RCPP is a macro then please configure it. [unknownMacro] units/src/tokenizer.cpp:24:8: style: The member function 'SymbolicUnits::is_multiplicative' can be static. [functionStatic] units/src/tokenizer.cpp:28:8: style: The member function 'SymbolicUnits::is_number_char' can be static. [functionStatic] units/src/tokenizer.cpp:6:3: style: Class 'SymbolicUnits' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] units/src/udunits.cpp:38:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_ignore [valueFlowBailoutIncompleteVar] units/src/udunits.cpp:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_UTF8 [valueFlowBailoutIncompleteVar] units/src/udunits.cpp:99:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] units/src/udunits.cpp:267:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_ASCII [valueFlowBailoutIncompleteVar] units/src/udunits.cpp:52:34: performance: Function parameter 'enc_str' should be passed by const reference. [passedByValue] units/src/udunits.cpp:109:42: performance: Function parameter 'from' should be passed by const reference. [passedByValue] units/src/udunits.cpp:109:60: performance: Function parameter 'to' should be passed by const reference. [passedByValue] units/src/udunits.cpp:119:63: performance: Function parameter 'from' should be passed by const reference. [passedByValue] units/src/udunits.cpp:119:81: performance: Function parameter 'to' should be passed by const reference. [passedByValue] diff: DONE