2025-11-24 13:24 ftp://ftp.de.debian.org/debian/pool/main/v/vdpauinfo/vdpauinfo_1.5.orig.tar.bz2 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-88-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 88 88 elapsed-time: 0.3 0.1 head-timing-info: old-timing-info: head results: vdpauinfo-1.5/VDPDeviceImpl.h:75:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDP_FUNC_ID_GET_ERROR_STRING [valueFlowBailoutIncompleteVar] vdpauinfo-1.5/vdpauinfo.cpp:44:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDP_STATUS_OK [valueFlowBailoutIncompleteVar] vdpauinfo-1.5/vdpauinfo.cpp:178:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDP_COLOR_TABLE_FORMAT_B8G8R8X8 [valueFlowBailoutIncompleteVar] vdpauinfo-1.5/vdpauinfo.cpp:308:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDP_STATUS_OK [valueFlowBailoutIncompleteVar] vdpauinfo-1.5/vdpauinfo.cpp:425:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vdpauinfo-1.5/vdpauinfo.cpp:490:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vdpauinfo-1.5/vdpauinfo.cpp:50:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:121:13: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:121:13: warning: %i in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:157:13: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:157:13: warning: %i in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:206:13: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:206:13: warning: %i in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:264:22: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:264:22: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:401:13: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:401:13: warning: %i in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:401:13: warning: %i in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/vdpauinfo.cpp:401:13: warning: %i in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vdpauinfo-1.5/VDPDeviceImpl.h:75:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:76:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:77:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:78:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:79:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:80:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:81:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:82:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:83:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:84:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:85:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:86:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:87:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:88:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:89:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:90:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:91:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:92:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:93:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:94:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:95:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:96:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:97:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:98:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:99:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:100:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:101:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:102:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:103:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:104:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:105:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:106:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:107:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:108:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:109:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:110:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:111:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:112:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:113:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:114:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:115:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:116:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:117:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:118:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:119:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:120:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:121:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:122:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:123:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:124:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:125:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:126:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:127:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:128:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:129:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:130:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:131:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:132:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:133:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:134:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/VDPDeviceImpl.h:135:5: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/vdpauinfo.cpp:307:17: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/vdpauinfo.cpp:307:33: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/vdpauinfo.cpp:332:17: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/vdpauinfo.cpp:332:33: style: C-style pointer casting [cstyleCast] vdpauinfo-1.5/vdpauinfo.cpp:266:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] vdpauinfo-1.5/vdpauinfo.cpp:266:68: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] vdpauinfo-1.5/vdpauinfo.cpp:266:48: portability: Casting between unsigned int * and float * which have an incompatible binary data representation. [invalidPointerCast] vdpauinfo-1.5/vdpauinfo.cpp:266:68: portability: Casting between unsigned int * and float * which have an incompatible binary data representation. [invalidPointerCast] diff: DONE