2025-05-05 17:03 ftp://ftp.de.debian.org/debian/pool/main/libd/libdate-pcalc-perl/libdate-pcalc-perl_6.1.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: fcc0493 (2025-05-05 13:08:11 +0200) count: 20 20 elapsed-time: 1.7 1.8 head-timing-info: old-timing-info: head results: Date-Pcalc-6.1/examples/cal.c:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Date-Pcalc-6.1/examples/cal.c:31:11: style: Variable 'self' can be declared as pointer to const [constVariablePointer] Date-Pcalc-6.1/tools/iso2pc.c:215:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Date-Pcalc-6.1/tools/iso2pc.c:225:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Date-Pcalc-6.1/tools/iso2pc.c:310:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Date-Pcalc-6.1/tools/pc2iso.c:215:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Date-Pcalc-6.1/tools/pc2iso.c:225:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Date-Pcalc-6.1/tools/pc2iso.c:310:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Date-Pcalc-6.1/tools/iso2pc.c:254:11: style: Variable 'option' can be declared as pointer to const [constVariablePointer] Date-Pcalc-6.1/tools/pc2iso.c:254:11: style: Variable 'option' can be declared as pointer to const [constVariablePointer] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1391:25: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1392:25: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1422:37: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1450:37: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1560:21: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1567:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:2137:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1680:39: style: Parameter 'year' can be declared as pointer to const [constParameterPointer] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1124:15: style: Variable 'Dd' is assigned a value that is never used. [unreadVariable] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1170:15: style: Variable 'Dd' is assigned a value that is never used. [unreadVariable] diff: DONE