2025-11-27 09:28 ftp://ftp.de.debian.org/debian/pool/main/k/khronos-opencl-clhpp/khronos-opencl-clhpp_3.0~2025.07.22.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 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 9486fde (2025-11-26 08:20:02 +0100) count: 70 70 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: OpenCL-CLHPP-2025.07.22/tests/pkgconfig/pkgconfig.cpp:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] OpenCL-CLHPP-2025.07.22/examples/src/trivialSizeTCompat.cpp:19:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] OpenCL-CLHPP-2025.07.22/examples/src/headerexample.cpp:20:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] OpenCL-CLHPP-2025.07.22/examples/src/trivial.cpp:22:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] OpenCL-CLHPP-2025.07.22/examples/src/headerexample.cpp:85:20: style: Variable 'pair' can be declared as reference to const [constVariableReference] OpenCL-CLHPP-2025.07.22/tests/test_versions.cpp:22:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] OpenCL-CLHPP-2025.07.22/examples/src/trivial.cpp:121:20: style: Variable 'pair' can be declared as reference to const [constVariableReference] OpenCL-CLHPP-2025.07.22/examples/src/trivial.cpp:258:16: style: Variable 'e' can be declared as reference to const [constVariableReference] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:679:25: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:747:25: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:2260:26: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:2398:26: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:2507:26: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:2582:26: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:3891:26: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:122:10: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:146:10: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:169:10: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:195:16: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:350:1: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:351:1: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:352:1: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:353:1: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:354:1: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:555:33: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:823:10: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:858:10: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1390:10: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1433:10: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1789:27: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1808:66: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:2010:17: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:2037:28: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:2382:10: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:4640:16: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:5346:14: style: C-style pointer casting [cstyleCast] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:284:23: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:3218:11: style: Parameter 'param_value' can be declared as pointer to const [constParameterPointer] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:3733:11: style: Parameter 'param_value' can be declared as pointer to const [constParameterPointer] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:3734:13: style: Parameter 'param_value_size_ret' can be declared as pointer to const [constParameterPointer] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:536:1: warning: Access of moved variable 'empty'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:536:1: note: Calling std::move(empty) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:536:1: note: Access of moved variable 'empty'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:805:1: warning: Access of moved variable 'empty'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:805:1: note: Calling std::move(empty) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:805:1: note: Access of moved variable 'empty'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1091:22: warning: Access of moved variable 'src'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1089:11: note: Calling std::move(src) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1091:22: note: Access of moved variable 'src'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1108:22: warning: Access of moved variable 'src'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1106:11: note: Calling std::move(src) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1108:22: note: Access of moved variable 'src'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1124:22: warning: Access of moved variable 'src'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1122:20: note: Calling std::move(src) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1124:22: note: Access of moved variable 'src'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1137:22: warning: Access of moved variable 'empty'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1135:20: note: Calling std::move(empty) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1137:22: note: Access of moved variable 'empty'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1204:1: warning: Access of moved variable 'empty'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1204:1: note: Calling std::move(empty) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1204:1: note: Access of moved variable 'empty'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1534:1: warning: Access of moved variable 'empty'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1534:1: note: Calling std::move(empty) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1534:1: note: Access of moved variable 'empty'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1701:1: warning: Access of moved variable 'empty'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1701:1: note: Calling std::move(empty) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1701:1: note: Access of moved variable 'empty'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1874:1: warning: Access of moved variable 'empty'. [accessMoved] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1874:1: note: Calling std::move(empty) OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1874:1: note: Access of moved variable 'empty'. OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:592:18: style: Variable 'devices[1]()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:839:11: style: Variable 'ctx()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:873:14: style: Variable 'device()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:890:14: style: Variable 'device()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:997:10: style: Variable 'd0()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:998:10: style: Variable 'd1()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1043:10: style: Variable 'd0()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1044:10: style: Variable 'd1()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1060:10: style: Variable 'd0()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1061:10: style: Variable 'd1()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1094:11: style: Variable 'trg()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1111:11: style: Variable 'trg()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1127:11: style: Variable 'trg()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1467:13: style: Variable 'image()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1641:13: style: Variable 'image()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1814:13: style: Variable 'image()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1906:14: style: Variable 'kernel()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:1921:14: style: Variable 'kernel()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:2251:12: style: Variable 'prog()' is assigned a value that is never used. [unreadVariable] OpenCL-CLHPP-2025.07.22/tests/test_openclhpp.cpp:2252:11: style: Variable 'dev()' is assigned a value that is never used. [unreadVariable] diff: DONE