2026-01-11 15:07 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-pdftools/r-cran-pdftools_3.5.0.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 -j8 platform: Linux-6.17.12+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.11 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-12) 15.2.0 cppcheck: head 2.19.0 head-info: 34b9c45c (2026-01-11 10:36:15 +0100) count: 31 31 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: pdftools/src/RcppExports.cpp:22:1: error: There is an unknown macro here somewhere. Configuration is required. If END_RCPP is a macro then please configure it. [unknownMacro] pdftools/src/bindings.cpp:65:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE_UTF8 [valueFlowBailoutIncompleteVar] pdftools/src/bindings.cpp:72:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE_LATIN1 [valueFlowBailoutIncompleteVar] pdftools/src/bindings.cpp:258:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPPLER_VERSION [valueFlowBailoutIncompleteVar] pdftools/src/bindings.cpp:269:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable physical_layout [valueFlowBailoutIncompleteVar] pdftools/src/bindings.cpp:394:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable antialiasing [valueFlowBailoutIncompleteVar] pdftools/src/bindings.cpp:429:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable antialiasing [valueFlowBailoutIncompleteVar] pdftools/src/bindings.cpp:120:49: style: C-style pointer casting [cstyleCast] pdftools/src/bindings.cpp:48:35: performance: Function parameter 'path' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:148:49: performance: Function parameter 'opw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:148:66: performance: Function parameter 'upw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:195:69: performance: Function parameter 'opw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:195:86: performance: Function parameter 'upw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:263:60: performance: Function parameter 'opw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:263:77: performance: Function parameter 'upw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:295:58: performance: Function parameter 'opw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:295:75: performance: Function parameter 'upw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:327:50: performance: Function parameter 'opw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:327:67: performance: Function parameter 'upw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:351:50: performance: Function parameter 'opw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:351:67: performance: Function parameter 'upw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:375:47: performance: Function parameter 'opw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:375:64: performance: Function parameter 'upw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:385:81: performance: Function parameter 'opw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:385:98: performance: Function parameter 'upw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:414:92: performance: Function parameter 'pages' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:415:52: performance: Function parameter 'names' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:415:83: performance: Function parameter 'opw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:415:100: performance: Function parameter 'upw' should be passed by const reference. [passedByValue] pdftools/src/bindings.cpp:407:20: style: Instance of 'std::runtime_error' object is destroyed immediately. [unusedScopedObject] pdftools/src/bindings.cpp:173:15: style: Unused variable: version_str [unusedVariable] diff: DONE