2026-09-03 09:05 ftp://ftp.de.debian.org/debian/pool/main/m/mrc/mrc_1.3.17.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 -j1 platform: Linux-6.12.90+deb13.1-amd64-x86_64-with-glibc2.41 python: 3.12.13 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.21.0 head-info: 637d5be (2026-09-02 19:24:25 +0200) count: 27 26 elapsed-time: 0.5 0.2 head-timing-info: old-timing-info: head results: mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:409:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable badbit [valueFlowBailoutIncompleteVar] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:187:11: style: The member function 'mrsrc::rsrc::end' can be static. [functionStatic] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:115:2: style: Class 'rsrc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:193:2: style: Class 'rsrc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:244:2: style: Class 'basic_streambuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:251:2: style: Class 'basic_streambuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:397:2: style: Class 'basic_istream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:402:2: style: Class 'basic_istream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:135:3: style: Class 'iterator_t < rsrc >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:201:41: style:inconclusive: Function 'rsrc' argument 1 names different: declaration 'path' definition 'p'. [funcArgNamesDifferent] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:115:29: note: Function 'rsrc' argument 1 names different: declaration 'path' definition 'p'. mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:201:41: note: Function 'rsrc' argument 1 names different: declaration 'path' definition 'p'. mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:212:8: style: Local variable 'name' shadows outer function [shadowFunction] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:117:14: note: Shadowed function mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:212:8: note: Shadow local variable mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:416:24: warning:inconclusive: Access of moved variable 'rhs'. [accessMoved] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:415:20: note: Calling std::move(rhs) mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:416:24: note: Access of moved variable 'rhs'. mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:426:24: warning:inconclusive: Access of moved variable 'rhs'. [accessMoved] mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:425:29: note: Calling std::move(rhs) mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:426:24: note: Access of moved variable 'rhs'. mhekkel-mrc-203b444/examples/esp-idf-rsrc/main/mrsrc.hpp:218:4: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mhekkel-mrc-203b444/examples/simple/mrc-user.cpp:19:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mhekkel-mrc-203b444/src/mrsrc.h:389:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable badbit [valueFlowBailoutIncompleteVar] mhekkel-mrc-203b444/src/mrsrc.h:166:25: style: The member function 'mrsrc::rsrc::end' can be static. [functionStatic] mhekkel-mrc-203b444/src/mrsrc.h:180:48: style:inconclusive: Function 'rsrc' argument 1 names different: declaration 'path' definition 'p'. [funcArgNamesDifferent] mhekkel-mrc-203b444/src/mrsrc.h:102:45: note: Function 'rsrc' argument 1 names different: declaration 'path' definition 'p'. mhekkel-mrc-203b444/src/mrsrc.h:180:48: note: Function 'rsrc' argument 1 names different: declaration 'path' definition 'p'. mhekkel-mrc-203b444/src/mrsrc.h:191:8: style: Local variable 'name' shadows outer function [shadowFunction] mhekkel-mrc-203b444/src/mrsrc.h:107:28: note: Shadowed function mhekkel-mrc-203b444/src/mrsrc.h:191:8: note: Shadow local variable mhekkel-mrc-203b444/src/mrsrc.h:396:24: warning:inconclusive: Access of moved variable 'rhs'. [accessMoved] mhekkel-mrc-203b444/src/mrsrc.h:395:23: note: Calling std::move(rhs) mhekkel-mrc-203b444/src/mrsrc.h:396:24: note: Access of moved variable 'rhs'. mhekkel-mrc-203b444/src/mrsrc.h:406:24: warning:inconclusive: Access of moved variable 'rhs'. [accessMoved] mhekkel-mrc-203b444/src/mrsrc.h:405:32: note: Calling std::move(rhs) mhekkel-mrc-203b444/src/mrsrc.h:406:24: note: Access of moved variable 'rhs'. mhekkel-mrc-203b444/src/mrsrc.h:197:4: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mhekkel-mrc-203b444/src/mrc-unit-test.cpp:116:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mhekkel-mrc-203b444/src/mrc-unit-test.cpp:115:14: style: Variable 'f' can be declared as reference to const [constVariableReference] mhekkel-mrc-203b444/src/mrc-unit-test.cpp:107:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] mhekkel-mrc-203b444/src/mrc.cpp:233:3: error: #error Undefined endianness [preprocessorErrorDirective] mhekkel-mrc-203b444/src/rsrc-test.cpp:11:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] diff: head mhekkel-mrc-203b444/src/mrc-unit-test.cpp:107:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] DONE