2025-08-29 17:04 ftp://ftp.de.debian.org/debian/pool/main/x/xserver-xorg-video-vesa/xserver-xorg-video-vesa_2.6.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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.41+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: 478055e (2025-08-29 18:53:24 +0200) count: 2 36 elapsed-time: 0.0 0.2 head-timing-info: old-timing-info: head results: xf86-video-vesa-2.6.0/src/vesa.h:37:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GET_ABI_MAJOR( ... ) [preprocessorErrorDirective] xf86-video-vesa-2.6.0/src/vesa.h:37:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GET_ABI_MAJOR( ... ) [preprocessorErrorDirective] diff: 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1003:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:115:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1191:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1202:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1209:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1263:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INFO [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:126:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:128:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1310:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1319:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1329:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1421:56: style: Parameter 'indices' can be declared as pointer to const. However it seems that 'VESALoadPalette' is a callback function, if 'indices' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xf86-video-vesa-2.6.0/src/vesa.c:1168:2: note: You might need to cast the function pointer here xf86-video-vesa-2.6.0/src/vesa.c:1421:56: note: Parameter 'indices' can be declared as pointer to const 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1437:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VGA_DAC_WRITE_ADDR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1478:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VGA_IOBASE_COLOR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1488:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VGA_IOBASE_COLOR [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1503:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VGA_SEQ_INDEX [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1515:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VGA_GRAPH_INDEX [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1528:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VGA_SEQ_INDEX [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1552:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VGA_MISC_OUT_R [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1613:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VGA_MISC_OUT_R [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1675:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1700:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1721:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_QUERY [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1808:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DGA_NEED_ROOT [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1825:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1872:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DGAModeRec [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:1918:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:300:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VbeCRTCInfoBlock [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:331:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_T_DRIVER [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:348:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:512:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:650:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_OK [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:679:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROBE_DETECT [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:976:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] 2.18.0 xf86-video-vesa-2.6.0/src/vesa.c:993:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xf86Screens [valueFlowBailoutIncompleteVar] head xf86-video-vesa-2.6.0/src/vesa.h:37:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GET_ABI_MAJOR( ... ) [preprocessorErrorDirective] head xf86-video-vesa-2.6.0/src/vesa.h:37:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GET_ABI_MAJOR( ... ) [preprocessorErrorDirective] DONE