2025-12-15 03:57 ftp://ftp.de.debian.org/debian/pool/main/libs/libsdl2-image/libsdl2-image_2.8.8+dfsg.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 -j90 platform: Linux-6.8.0-88-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.18.0 head-info: 9dfee85 (2025-12-14 20:14:30 +0100) count: 46 57 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: SDL2_image-2.8.8/cmake/test/main.c:9:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] SDL2_image-2.8.8/src/IMG.c:303:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [syntaxError] SDL2_image-2.8.8/examples/showanim.c:42:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] SDL2_image-2.8.8/examples/showanim.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_HIDDEN [valueFlowBailoutIncompleteVar] SDL2_image-2.8.8/examples/showimage.c:42:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] SDL2_image-2.8.8/examples/showimage.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_HIDDEN [valueFlowBailoutIncompleteVar] SDL2_image-2.8.8/src/IMG_avif.c:336:27: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_avif.c:342:41: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_bmp.c:471:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_bmp.c:476:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_bmp.c:481:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_bmp.c:487:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_pcx.c:282:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_bmp.c:493:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_gif.c:744:51: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_jxl.c:266:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_lbm.c:503:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_pcx.c:288:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_pnm.c:245:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_bmp.c:499:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_gif.c:796:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_jxl.c:272:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_lbm.c:509:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_pnm.c:251:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_gif.c:802:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/test/main.c:1055:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [syntaxError] SDL2_image-2.8.8/src/IMG_qoi.c:115:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_qoi.c:121:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_tga.c:313:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_tif.c:225:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_tif.c:231:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_xv.c:154:25: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_webp.c:445:27: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_xv.c:160:39: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_webp.c:451:41: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_webp.c:456:52: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_xcf.c:944:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_xcf.c:950:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_jpg.c:664:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_jpg.c:670:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_xpm.c:1204:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_xpm.c:1211:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_svg.c:174:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_svg.c:180:45: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_png.c:557:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] SDL2_image-2.8.8/src/IMG_png.c:563:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] diff: 2.18.0 SDL2_image-2.8.8/src/IMG.c:119:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_INIT_AVIF [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/src/IMG.c:156:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_INIT_AVIF [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/src/IMG.c:242:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RW_SEEK_CUR [valueFlowBailoutIncompleteVar] head SDL2_image-2.8.8/src/IMG.c:303:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [syntaxError] 2.18.0 SDL2_image-2.8.8/src/IMG.c:373:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RW_SEEK_CUR [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/test/main.c:1015:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head SDL2_image-2.8.8/test/main.c:1055:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [syntaxError] 2.18.0 SDL2_image-2.8.8/test/main.c:46:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/test/main.c:530:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_RGBA32 [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/test/main.c:567:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/test/main.c:69:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/test/main.c:728:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/test/main.c:844:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/test/main.c:916:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] 2.18.0 SDL2_image-2.8.8/test/main.c:973:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_COMPLETED [valueFlowBailoutIncompleteVar] DONE