2025-08-29 17:01 ftp://ftp.de.debian.org/debian/pool/main/x/xserver-xorg-input-elographics/xserver-xorg-input-elographics_1.4.4.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 -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 14 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: xf86-input-elographics-1.4.4/src/xf86Elo.c:878:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GET_ABI_MAJOR( ... ) [preprocessorErrorDirective] xf86-input-elographics-1.4.4/src/xf86Elo.c:878:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GET_ABI_MAJOR( ... ) [preprocessorErrorDirective] diff: 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:252:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:349:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:435:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:471:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:518:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:556:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:583:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:604:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_PROBED [valueFlowBailoutIncompleteVar] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:671:14: style: Parameter 'ctrl' can be declared as pointer to const. However it seems that 'xf86EloPtrControl' is a callback function, if 'ctrl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xf86-input-elographics-1.4.4/src/xf86Elo.c:722:49: note: You might need to cast the function pointer here xf86-input-elographics-1.4.4/src/xf86Elo.c:671:14: note: Parameter 'ctrl' can be declared as pointer to const 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:703:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numScreens [valueFlowBailoutIncompleteVar] head xf86-input-elographics-1.4.4/src/xf86Elo.c:878:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GET_ABI_MAJOR( ... ) [preprocessorErrorDirective] head xf86-input-elographics-1.4.4/src/xf86Elo.c:878:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GET_ABI_MAJOR( ... ) [preprocessorErrorDirective] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:903:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BadAlloc [valueFlowBailoutIncompleteVar] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:967:11: style: Variable 'opt_model' can be declared as pointer to const [constVariablePointer] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:968:11: style: Variable 'model' can be declared as pointer to const [constVariablePointer] 2.18.0 xf86-input-elographics-1.4.4/src/xf86Elo.c:973:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] DONE