2025-09-11 01:09 ftp://ftp.de.debian.org/debian/pool/main/x/xbrzscale/xbrzscale_1.8.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --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.43+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: 8378b97 (2025-09-10 14:52:16 +0200) count: 30 30 elapsed-time: 7.8 7.9 head-timing-info: old-timing-info: head results: atheros-xbrzscale-a2d8dce/xbrzscale.cpp:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:51:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:80:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:201:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:41:16: style: C-style pointer casting [cstyleCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:68:16: style: C-style pointer casting [cstyleCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:48:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:57:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:76:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:92:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:162:46: style:inconclusive: Function 'uint32toSurface' argument 1 names different: declaration 'dest' definition 'ui32src'. [funcArgNamesDifferent] atheros-xbrzscale-a2d8dce/libxbrzscale.h:32:41: note: Function 'uint32toSurface' argument 1 names different: declaration 'dest' definition 'ui32src'. atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:162:46: note: Function 'uint32toSurface' argument 1 names different: declaration 'dest' definition 'ui32src'. atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:162:46: style: Parameter 'ui32src' can be declared as pointer to const [constParameterPointer] atheros-xbrzscale-a2d8dce/xbrz/xbrz_tools.h:51:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz_tools.h:76:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz_tools.h:113:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz_tools.h:168:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:45:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:730:17: warning: The struct 'Scaler2x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:730:17: note: Derived function 'Scaler2x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:730:17: warning: The struct 'Scaler2x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:730:17: note: Derived function 'Scaler2x < ColorGradientARGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:776:17: warning: The struct 'Scaler3x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:776:17: note: Derived function 'Scaler3x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:776:17: warning: The struct 'Scaler3x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:776:17: note: Derived function 'Scaler3x < ColorGradientARGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:834:17: warning: The struct 'Scaler4x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:834:17: note: Derived function 'Scaler4x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:834:17: warning: The struct 'Scaler4x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:834:17: note: Derived function 'Scaler4x < ColorGradientARGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:903:17: warning: The struct 'Scaler5x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:903:17: note: Derived function 'Scaler5x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:903:17: warning: The struct 'Scaler5x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:903:17: note: Derived function 'Scaler5x < ColorGradientARGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:991:17: warning: The struct 'Scaler6x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:991:17: note: Derived function 'Scaler6x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:991:17: warning: The struct 'Scaler6x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:991:17: note: Derived function 'Scaler6x < ColorGradientARGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:108:25: style: struct member 'MatrixRotation::I_old' is never used. [unusedStructMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:109:25: style: struct member 'MatrixRotation::J_old' is never used. [unusedStructMember] diff: DONE