2026-05-01 06:59 ftp://ftp.de.debian.org/debian/pool/main/c/c4core/c4core_0.2.11.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.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: 0fda84e (2026-05-01 02:32:52 +0200) count: 47 47 elapsed-time: 1.5 1.3 head-timing-info: old-timing-info: head results: c4core-0.2.11/bm/bm_charconv.hpp:58:1: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_GCC_CLANG is a macro then please configure it. [unknownMacro] c4core-0.2.11/bm/bm_format.cpp:20:1: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_GCC_CLANG_WITH_PUSH is a macro then please configure it. [unknownMacro] c4core-0.2.11/bm/float/read.cpp:156:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] c4core-0.2.11/src/c4/base64.cpp:127:42: style: C-style pointer casting [cstyleCast] c4core-0.2.11/src/c4/base64.cpp:104:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] c4core-0.2.11/src/c4/char_traits.cpp:5:43: debug: Scope::checkVariable found variable 'whitespace_chars' with varid 0. [varid0] c4core-0.2.11/src/c4/char_traits.cpp:6:45: debug: Scope::checkVariable found variable 'num_whitespace_chars' with varid 0. [varid0] c4core-0.2.11/src/c4/char_traits.cpp:7:49: debug: Scope::checkVariable found variable 'whitespace_chars' with varid 0. [varid0] c4core-0.2.11/src/c4/char_traits.cpp:8:48: debug: Scope::checkVariable found variable 'num_whitespace_chars' with varid 0. [varid0] c4core-0.2.11/src/c4/error.cpp:83:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ON_ERROR_LOG [valueFlowBailoutIncompleteVar] c4core-0.2.11/src/c4/error.cpp:143:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] c4core-0.2.11/src/c4/error.cpp:127:5: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] c4core-0.2.11/src/c4/format.cpp:53:5: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_GCC_POP is a macro then please configure it. [unknownMacro] c4core-0.2.11/src/c4/memory_resource.cpp:17:1: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_GCC_CLANG_WITH_PUSH is a macro then please configure it. [unknownMacro] c4core-0.2.11/src/c4/utf.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_GCC_CLANG_WITH_PUSH is a macro then please configure it. [unknownMacro] c4core-0.2.11/src/c4/version.cpp:7:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C4CORE_VERSION [valueFlowBailoutIncompleteVar] c4core-0.2.11/src/c4/version.cpp:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C4CORE_VERSION_MAJOR [valueFlowBailoutIncompleteVar] c4core-0.2.11/src/c4/version.cpp:17:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C4CORE_VERSION_MINOR [valueFlowBailoutIncompleteVar] c4core-0.2.11/src/c4/version.cpp:22:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C4CORE_VERSION_PATCH [valueFlowBailoutIncompleteVar] c4core-0.2.11/test/test_allocator.cpp:43:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_base64.cpp:13:1: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_MSVC_WITH_PUSH is a macro then please configure it. [unknownMacro] c4core-0.2.11/test/test_bitmask.cpp:20:1: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_GCC_CLANG_WITH_PUSH is a macro then please configure it. [unknownMacro] c4core-0.2.11/test/test_blob.cpp:88:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_char_traits.cpp:22:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_charconv.cpp:22:1: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_CLANG is a macro then please configure it. [unknownMacro] c4core-0.2.11/test/test_ctor_dtor.cpp:42:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_dump.cpp:43:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_error.cpp:108:9: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_GCC_CLANG_WITH_PUSH is a macro then please configure it. [unknownMacro] c4core-0.2.11/test/test_error_exception.cpp:57:9: error: There is an unknown macro here somewhere. Configuration is required. If C4_IF_EXCEPTIONS_ is a macro then please configure it. [unknownMacro] c4core-0.2.11/test/test_format.cpp:40:1: error: syntax error [syntaxError] c4core-0.2.11/test/c4/test.hpp:372:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allocs [valueFlowBailoutIncompleteVar] c4core-0.2.11/test/c4/test.hpp:386:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allocs [valueFlowBailoutIncompleteVar] c4core-0.2.11/test/c4/test.hpp:400:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allocs [valueFlowBailoutIncompleteVar] c4core-0.2.11/test/c4/test.hpp:412:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allocs [valueFlowBailoutIncompleteVar] c4core-0.2.11/test/c4/test.hpp:256:13: performance: Variable 'ctors' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] c4core-0.2.11/test/c4/test.hpp:116:5: style: Struct 'TestErrorOccurs' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] c4core-0.2.11/test/c4/test.hpp:357:5: style: Struct 'AllocationCountsChecker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] c4core-0.2.11/test/test_memory_resource.cpp:13:1: error: There is an unknown macro here somewhere. Configuration is required. If C4_SUPPRESS_WARNING_GCC_CLANG_WITH_PUSH is a macro then please configure it. [unknownMacro] c4core-0.2.11/test/test_memory_util.cpp:36:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_span.cpp:28:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_std.cpp:87:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_substr.cpp:37:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_szconv.cpp:49:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_type_name.cpp:22:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_types.cpp:27:1: error: There is an unknown macro here somewhere. Configuration is required. If C4_BEGIN_HIDDEN_NAMESPACE is a macro then please configure it. [unknownMacro] c4core-0.2.11/test/test_utf.cpp:26:1: error: syntax error [syntaxError] c4core-0.2.11/test/test_version.cpp:31:53: error: There is an unknown macro here somewhere. Configuration is required. If C4_XQUOTE is a macro then please configure it. [unknownMacro] diff: DONE