2025-05-18 13:15 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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 5147b19 (2025-05-17 14:35:14 +0200) count: 30 30 elapsed-time: 6.0 6.0 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:48:17: style: C-style pointer casting [cstyleCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:57:17: style: C-style pointer casting [cstyleCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:68:16: style: C-style pointer casting [cstyleCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:76:10: style: C-style pointer casting [cstyleCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:92:10: style: C-style pointer casting [cstyleCast] 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