2025-09-15 11:07 ftp://ftp.de.debian.org/debian/pool/main/p/pydoctor/pydoctor_24.11.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 060db6b (2025-09-15 08:38:14 +0200) count: 9 9 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:8:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:14:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:5:39: style: Parameter 'self' can be declared as pointer to const. However it seems that 'base_valid' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:18:42: note: You might need to cast the function pointer here pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:5:39: note: Parameter 'self' can be declared as pointer to const pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:5:55: style: Parameter 'args' can be declared as pointer to const. However it seems that 'base_valid' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:18:42: note: You might need to cast the function pointer here pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:5:55: note: Parameter 'args' can be declared as pointer to const pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:11:41: style: Parameter 'self' can be declared as pointer to const. However it seems that 'base_invalid' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:23:44: note: You might need to cast the function pointer here pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:11:41: note: Parameter 'self' can be declared as pointer to const pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:11:57: style: Parameter 'args' can be declared as pointer to const. However it seems that 'base_invalid' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:23:44: note: You might need to cast the function pointer here pydoctor-24.11.2/pydoctor/test/testpackages/c_module_invalid_text_signature/mymod/base.c:11:57: note: Parameter 'args' can be declared as pointer to const pydoctor-24.11.2/pydoctor/test/testpackages/c_module_python_module_name_clash/mymod/base.c:8:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pydoctor-24.11.2/pydoctor/test/testpackages/c_module_python_module_name_clash/mymod/base.c:5:39: style: Parameter 'self' can be declared as pointer to const. However it seems that 'base_valid' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pydoctor-24.11.2/pydoctor/test/testpackages/c_module_python_module_name_clash/mymod/base.c:12:42: note: You might need to cast the function pointer here pydoctor-24.11.2/pydoctor/test/testpackages/c_module_python_module_name_clash/mymod/base.c:5:39: note: Parameter 'self' can be declared as pointer to const pydoctor-24.11.2/pydoctor/test/testpackages/c_module_python_module_name_clash/mymod/base.c:5:55: style: Parameter 'args' can be declared as pointer to const. However it seems that 'base_valid' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pydoctor-24.11.2/pydoctor/test/testpackages/c_module_python_module_name_clash/mymod/base.c:12:42: note: You might need to cast the function pointer here pydoctor-24.11.2/pydoctor/test/testpackages/c_module_python_module_name_clash/mymod/base.c:5:55: note: Parameter 'args' can be declared as pointer to const diff: DONE