2026-05-03 02:11 ftp://ftp.de.debian.org/debian/pool/main/liba/libast/libast_0.7.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=pcre --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: e5c4a73 (2026-05-01 11:10:43 +0200) count: 28 27 elapsed-time: 0.5 0.4 head-timing-info: old-timing-info: head results: libast-0.7/src/array.c:305:52: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/builtin_hashes.c:181:10: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/conf.c:116:20: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST_C is a macro then please configure it. [unknownMacro] libast-0.7/src/dlinked_list.c:313:1: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_DEFINE_PROPERTY_FUNC is a macro then please configure it. [unknownMacro] libast-0.7/src/file.c:73:18: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST_C is a macro then please configure it. [unknownMacro] libast-0.7/src/linked_list.c:311:1: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_DEFINE_PROPERTY_FUNC is a macro then please configure it. [unknownMacro] libast-0.7/src/mbuff.c:283:20: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/mem.c:159:36: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CONST_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/msgs.c:78:21: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST_C is a macro then please configure it. [unknownMacro] libast-0.7/src/obj.c:254:20: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/objpair.c:380:20: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/options.c:163:27: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST_C is a macro then please configure it. [unknownMacro] libast-0.7/src/regexp.c:159:20: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/snprintf.c:348:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] libast-0.7/src/snprintf.c:376:13: style:inconclusive: Function 'dostr' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] libast-0.7/src/snprintf.c:345:10: style: Local variable 'fmtstr' shadows outer function [shadowFunction] libast-0.7/src/snprintf.c:35:13: note: Shadowed declaration libast-0.7/src/snprintf.c:345:10: note: Shadow variable libast-0.7/src/snprintf.c:237:14: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] libast-0.7/src/snprintf.c:376:13: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] libast-0.7/src/snprintf.c:241:10: style: Variable 'zpad' is assigned a value that is never used. [unreadVariable] libast-0.7/src/snprintf.c:288:15: style: Variable 'precision' is assigned a value that is never used. [unreadVariable] libast-0.7/src/snprintf.c:348:10: style: Variable 'zpad' is assigned a value that is never used. [unreadVariable] libast-0.7/src/socket.c:175:20: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/str.c:188:24: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CONST_CAST_C is a macro then please configure it. [unknownMacro] libast-0.7/src/strings.c:483:17: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/tok.c:217:20: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] libast-0.7/src/url.c:246:1: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_DEFINE_PROPERTY_FUNC is a macro then please configure it. [unknownMacro] libast-0.7/test/perf.c:278:24: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST_C is a macro then please configure it. [unknownMacro] libast-0.7/test/test.c:195:25: error: There is an unknown macro here somewhere. Configuration is required. If SPIF_CAST is a macro then please configure it. [unknownMacro] diff: head libast-0.7/src/snprintf.c:376:13: style:inconclusive: Function 'dostr' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] DONE