2026-05-06 05:58 ftp://ftp.de.debian.org/debian/pool/main/a/aspic/aspic_2.00+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.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 88 59 elapsed-time: 1.9 1.8 head-timing-info: old-timing-info: head results: aspic-2.00/src/aspic.c:165:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aspic-2.00/src/aspic.c:505:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aspic-2.00/src/aspic.c:382:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] aspic-2.00/src/aspic.c:383:7: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] aspic-2.00/src/aspic.c:156:16: style:inconclusive: Function 'error_moan' argument 1 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/aspic.c:240:17: style:inconclusive: Function 'getstore' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/aspic.c:303:22: style:inconclusive: Function 'free_in_line' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/aspic.c:332:18: style:inconclusive: Function 'freemacro' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/aspic.c:379:12: style: Variable 'gmt' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:168:15: style: Variable 'box' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:467:17: style: Variable 'lastarc' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:496:18: style: Variable 'line' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:515:19: style: Variable 'curve' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:534:17: style: Variable 'box' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:854:15: style: Variable 'lastbox' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:1008:17: style: Variable 'lastarc' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:1024:19: style: Variable 'lastcurve' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:1031:18: style: Variable 'lastline' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:1145:12: style: Variable 'lastarc' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:1146:12: style: Variable 'lastbox' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:1147:13: style: Variable 'lastcurve' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rditem.c:1148:12: style: Variable 'lastline' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/rdsubs.c:410:5: error: syntax error [syntaxError] aspic-2.00/src/read.c:154:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] aspic-2.00/src/read.c:234:12: style: Variable 'lastarc' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/read.c:235:12: style: Variable 'lastbox' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/read.c:236:13: style: Variable 'lastcurve' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/read.c:237:12: style: Variable 'lastline' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/read.c:558:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] aspic-2.00/src/read.c:761:19: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] aspic-2.00/src/read.c:974:22: style: Variable 'mm' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/tree.c:52:29: style:inconclusive: Function 'tree_insertnode' argument 1 names different: declaration '' definition 'treebase'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/tree.c:52:50: style:inconclusive: Function 'tree_insertnode' argument 2 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/tree.c:201:24: style:inconclusive: Function 'tree_search' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/tree.c:201:35: style:inconclusive: Function 'tree_search' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/tree.c:201:35: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] aspic-2.00/src/write.c:23:19: style:inconclusive: Function 'samecolour' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:23:29: style:inconclusive: Function 'samecolour' argument 2 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:45:22: style:inconclusive: Function 'find_linedepth' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:45:38: style:inconclusive: Function 'find_linedepth' argument 2 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:76:22: style:inconclusive: Function 'find_fontdepth' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:76:38: style:inconclusive: Function 'find_fontdepth' argument 2 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:131:16: style:inconclusive: Function 'find_bbox' argument 1 names different: declaration '' definition 'box'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:366:9: style:inconclusive: Function 'rnd' argument 1 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:394:11: style:inconclusive: Function 'fixed' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:433:14: style:inconclusive: Function 'smallarc' argument 1 names different: declaration '' definition 'radius1'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:433:27: style:inconclusive: Function 'smallarc' argument 2 names different: declaration '' definition 'radius2'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:433:43: style:inconclusive: Function 'smallarc' argument 3 names different: declaration '' definition 'angle1'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:433:58: style:inconclusive: Function 'smallarc' argument 4 names different: declaration '' definition 'angle2'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:434:10: style:inconclusive: Function 'smallarc' argument 5 names different: declaration '' definition 'rbezier'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:488:17: style:inconclusive: Function 'stringpos' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:488:25: style:inconclusive: Function 'stringpos' argument 2 names different: declaration '' definition 'xx'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:488:34: style:inconclusive: Function 'stringpos' argument 3 names different: declaration '' definition 'yy'. [funcArgNamesDifferentUnnamed] aspic-2.00/src/write.c:205:13: style: Local variable 'x' shadows outer variable [shadowVariable] aspic-2.00/src/write.c:134:5: note: Shadowed declaration aspic-2.00/src/write.c:205:13: note: Shadow variable aspic-2.00/src/write.c:205:16: style: Local variable 'y' shadows outer variable [shadowVariable] aspic-2.00/src/write.c:134:8: note: Shadowed declaration aspic-2.00/src/write.c:205:16: note: Shadow variable aspic-2.00/src/write.c:228:11: style: Local variable 'x' shadows outer variable [shadowVariable] aspic-2.00/src/write.c:134:5: note: Shadowed declaration aspic-2.00/src/write.c:228:11: note: Shadow variable aspic-2.00/src/write.c:229:11: style: Local variable 'y' shadows outer variable [shadowVariable] aspic-2.00/src/write.c:134:8: note: Shadowed declaration aspic-2.00/src/write.c:229:11: note: Shadow variable aspic-2.00/src/write.c:45:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] aspic-2.00/src/write.c:48:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/write.c:76:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] aspic-2.00/src/write.c:79:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/write.c:153:17: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/write.c:217:17: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/write.c:227:18: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/write.c:271:17: style: Variable 'f' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/write.c:508:14: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/write.c:530:13: style: Variable 'arc' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrps.c:177:11: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrps.c:218:33: style: Variable 'top' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrps.c:300:27: style: Parameter 'current' can be declared as pointer to const [constParameterPointer] aspic-2.00/src/wrps.c:673:12: style: Variable 'tn' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrps.c:879:18: style: Variable 'b' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrps.c:914:15: style: Variable 'ppa' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrps.c:915:17: style: Variable 'ppc' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrps.c:916:16: style: Variable 'ppl' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:170:13: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:171:13: style: Variable 'fx' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:172:13: style: Variable 'fy' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:200:19: style: Variable 'hyphen' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:201:19: style: Variable 'family' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:202:19: style: Variable 'weight' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:203:19: style: Variable 'style' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:282:27: style: Parameter 'current' can be declared as pointer to const [constParameterPointer] aspic-2.00/src/wrsv.c:629:12: style: Variable 'tnc' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:629:18: style: Variable 'tnd' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:688:15: style: Variable 'ppa' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:689:17: style: Variable 'ppc' can be declared as pointer to const [constVariablePointer] aspic-2.00/src/wrsv.c:690:16: style: Variable 'ppl' can be declared as pointer to const [constVariablePointer] diff: head aspic-2.00/src/aspic.c:156:16: style:inconclusive: Function 'error_moan' argument 1 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/aspic.c:240:17: style:inconclusive: Function 'getstore' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/aspic.c:303:22: style:inconclusive: Function 'free_in_line' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/aspic.c:332:18: style:inconclusive: Function 'freemacro' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/rditem.c:1145:12: style: Variable 'lastarc' can be declared as pointer to const [constVariablePointer] head aspic-2.00/src/rditem.c:1146:12: style: Variable 'lastbox' can be declared as pointer to const [constVariablePointer] head aspic-2.00/src/rditem.c:1147:13: style: Variable 'lastcurve' can be declared as pointer to const [constVariablePointer] head aspic-2.00/src/rditem.c:1148:12: style: Variable 'lastline' can be declared as pointer to const [constVariablePointer] head aspic-2.00/src/tree.c:201:24: style:inconclusive: Function 'tree_search' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/tree.c:201:35: style:inconclusive: Function 'tree_search' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/tree.c:52:29: style:inconclusive: Function 'tree_insertnode' argument 1 names different: declaration '' definition 'treebase'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/tree.c:52:50: style:inconclusive: Function 'tree_insertnode' argument 2 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:131:16: style:inconclusive: Function 'find_bbox' argument 1 names different: declaration '' definition 'box'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:23:19: style:inconclusive: Function 'samecolour' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:23:29: style:inconclusive: Function 'samecolour' argument 2 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:366:9: style:inconclusive: Function 'rnd' argument 1 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:394:11: style:inconclusive: Function 'fixed' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:433:14: style:inconclusive: Function 'smallarc' argument 1 names different: declaration '' definition 'radius1'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:433:27: style:inconclusive: Function 'smallarc' argument 2 names different: declaration '' definition 'radius2'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:433:43: style:inconclusive: Function 'smallarc' argument 3 names different: declaration '' definition 'angle1'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:433:58: style:inconclusive: Function 'smallarc' argument 4 names different: declaration '' definition 'angle2'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:434:10: style:inconclusive: Function 'smallarc' argument 5 names different: declaration '' definition 'rbezier'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:45:22: style:inconclusive: Function 'find_linedepth' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:45:38: style:inconclusive: Function 'find_linedepth' argument 2 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:488:17: style:inconclusive: Function 'stringpos' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:488:25: style:inconclusive: Function 'stringpos' argument 2 names different: declaration '' definition 'xx'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:488:34: style:inconclusive: Function 'stringpos' argument 3 names different: declaration '' definition 'yy'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:76:22: style:inconclusive: Function 'find_fontdepth' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head aspic-2.00/src/write.c:76:38: style:inconclusive: Function 'find_fontdepth' argument 2 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] DONE