2026-05-03 08:09 ftp://ftp.de.debian.org/debian/pool/main/libs/libsquish/libsquish_1.15.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.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 56 54 elapsed-time: 1.0 0.9 head-timing-info: old-timing-info: head results: clusterfit.cpp:47:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] clusterfit.cpp:200:42: error:inconclusive: Array 'm_points_weights[16]' accessed at index -1, which is out of bounds. [negativeIndex] clusterfit.cpp:146:22: note: Assignment 'i=0', assigned value is 0 clusterfit.cpp:150:35: note: Assignment 'jmin=(i==0)?1:i', assigned value is -1 clusterfit.cpp:151:26: note: Assignment 'j=jmin', assigned value is -1 clusterfit.cpp:198:23: note: Assuming condition is false clusterfit.cpp:200:42: note: Negative array index maths.h:40:5: warning:inconclusive: Member variable 'Vec3::m_x' is not initialized in the constructor. [uninitMemberVar] maths.h:40:5: warning:inconclusive: Member variable 'Vec3::m_y' is not initialized in the constructor. [uninitMemberVar] maths.h:40:5: warning:inconclusive: Member variable 'Vec3::m_z' is not initialized in the constructor. [uninitMemberVar] maths.h:204:5: warning:inconclusive: Member variable 'Sym3x3::m_x' is not initialized in the constructor. [uninitMemberVar] simd_float.h:40:5: warning:inconclusive: Member variable 'Vec4::m_x' is not initialized in the constructor. [uninitMemberVar] simd_float.h:40:5: warning:inconclusive: Member variable 'Vec4::m_y' is not initialized in the constructor. [uninitMemberVar] simd_float.h:40:5: warning:inconclusive: Member variable 'Vec4::m_z' is not initialized in the constructor. [uninitMemberVar] simd_float.h:40:5: warning:inconclusive: Member variable 'Vec4::m_w' is not initialized in the constructor. [uninitMemberVar] clusterfit.cpp:34:13: warning: Member variable 'ClusterFit::m_order' is not initialized in the constructor. [uninitMemberVar] maths.h:208:5: style: Class 'Sym3x3' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] clusterfit.h:45:18: style: The function 'Compress3' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] colourfit.h:47:18: note: Virtual function in base class clusterfit.h:45:18: note: Function in derived class clusterfit.h:46:18: style: The function 'Compress4' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] colourfit.h:48:18: note: Virtual function in base class clusterfit.h:46:18: note: Function in derived class clusterfit.cpp:68:17: style: C-style pointer casting [cstyleCast] clusterfit.cpp:88:26: style: C-style pointer casting [cstyleCast] clusterfit.cpp:227:27: style: C-style pointer casting [cstyleCast] clusterfit.cpp:370:27: style: C-style pointer casting [cstyleCast] clusterfit.cpp:137:8: style: The scope of the variable 'bestindices' can be reduced. [variableScope] clusterfit.cpp:268:8: style: The scope of the variable 'bestindices' can be reduced. [variableScope] clusterfit.cpp:34:69: style: Parameter 'metric' can be declared as pointer to const [constParameterPointer] colourblock.cpp:59:17: style: C-style pointer casting [cstyleCast] extra/squishgen.cpp:122:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] extra/squishgen.cpp:47:35: error: Array 'values[target].sources[2]' accessed at index 3, which is out of bounds. [arrayIndexOutOfBounds] extra/squishgen.cpp:149:36: note: Calling function 'GenerateData', 3rd argument '4' value is 4 extra/squishgen.cpp:46:35: note: Assuming that condition 'index