2024-05-07 11:11 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 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.59 compiler: g++ (Ubuntu 14-20240412-0ubuntu1) 14.0.1 20240412 (experimental) [master r14-9935-g67e1433a94f] cppcheck: head 2.14.0 head-info: a26b16d (2024-05-06 14:19:59 +0200) count: 23 17 elapsed-time: 5.2 5.3 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/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:741:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:748:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:767:54: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] 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:1735:37: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1773:43: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1811:40: style: Parameter 'buffer' 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] 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] diff: head Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1735:37: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] head Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1773:43: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] head Date-Pcalc-6.1/src/C_XS/DatePcalc.c:1811:40: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] head Date-Pcalc-6.1/src/C_XS/DatePcalc.c:741:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head Date-Pcalc-6.1/src/C_XS/DatePcalc.c:748:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head Date-Pcalc-6.1/src/C_XS/DatePcalc.c:767:54: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] DONE