2026-05-01 19:40 ftp://ftp.de.debian.org/debian/pool/main/f/fastobj/fastobj_1.3.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.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 49 49 elapsed-time: 4.2 3.8 head-timing-info: old-timing-info: head results: thisistherk-fast_obj-42629f7/fast_obj.h:678:9: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:686:19: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:686:56: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:688:13: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:694:13: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:712:9: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:729:9: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:770:21: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:777:21: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:784:21: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1366:9: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1370:19: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1370:56: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1372:13: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1395:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1396:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1397:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1398:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1465:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1466:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1467:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1469:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1470:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1472:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1473:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1474:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1562:25: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1563:25: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1564:25: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1565:25: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] thisistherk-fast_obj-42629f7/fast_obj.h:1378:36: style:inconclusive: Function 'fast_obj_destroy' argument 1 names different: declaration 'mesh' definition 'm'. [funcArgNamesDifferent] thisistherk-fast_obj-42629f7/fast_obj.h:177:63: note: Function 'fast_obj_destroy' argument 1 names different: declaration 'mesh' definition 'm'. thisistherk-fast_obj-42629f7/fast_obj.h:1378:36: note: Function 'fast_obj_destroy' argument 1 names different: declaration 'mesh' definition 'm'. thisistherk-fast_obj-42629f7/fast_obj.h:910:22: style: Variable 'mtl' can be declared as pointer to const [constVariablePointer] thisistherk-fast_obj-42629f7/fast_obj.h:992:21: style: Variable 'map' can be declared as pointer to const [constVariablePointer] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:721:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eofbit [valueFlowBailoutIncompleteVar] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:1799:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:2030:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:2050:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:2076:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:2557:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:2892:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:440:12: style: The destructor '~MaterialFileReader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:425:12: note: Virtual destructor in base class thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:440:12: note: Destructor in derived class thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:441:16: style: The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:427:16: note: Virtual function in base class thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:441:16: note: Function in derived class thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:457:12: style: The destructor '~MaterialStreamReader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:425:12: note: Virtual destructor in base class thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:457:12: note: Destructor in derived class thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:458:16: style: The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:427:16: note: Virtual function in base class thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:458:16: note: Function in derived class thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:864:7: style: The if condition is the same as the previous if condition [duplicateCondition] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:853:7: note: First condition thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:864:7: note: Second condition thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:753:11: style: Condition 'idx<0' is always true [knownConditionTrueFalse] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:748:11: note: Assuming that condition 'idx==0' is not redundant thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:753:11: note: Condition 'idx<0' is always true thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:1355:22: style: The scope of the variable 'i1' can be reduced. [variableScope] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:2065:19: style:inconclusive: Function 'LoadObj' argument 8 names different: declaration 'triangulate' definition 'trianglulate'. [funcArgNamesDifferent] thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:565:51: note: Function 'LoadObj' argument 8 names different: declaration 'triangulate' definition 'trianglulate'. thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:2065:19: note: Function 'LoadObj' argument 8 names different: declaration 'triangulate' definition 'trianglulate'. thisistherk-fast_obj-42629f7/test/tiny_obj_loader.h:1661:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] diff: DONE