2025-11-22 07:20 ftp://ftp.de.debian.org/debian/pool/main/l/lxappearance-obconf/lxappearance-obconf_0.2.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 602da94 (2025-11-21 17:16:29 +0100) count: 20 30 elapsed-time: 0.2 0.6 head-timing-info: old-timing-info: head results: lxappearance-obconf-0.2.4/src/appearance.c:198:0: error: failed to evaluate #if condition, undefined function-like macro invocation: RR_CHECK_VERSION( ... ) [syntaxError] lxappearance-obconf-0.2.4/src/main.c:163:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] lxappearance-obconf-0.2.4/src/archive.c:49:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/preview.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] lxappearance-obconf-0.2.4/src/archive.c:74:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/archive.c:93:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/archive.c:133:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/archive.c:150:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/archive.c:196:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/preview_update.c:46:0: error: failed to evaluate #if condition, undefined function-like macro invocation: RR_CHECK_VERSION( ... ) [syntaxError] lxappearance-obconf-0.2.4/src/theme.c:60:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/theme.c:114:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/theme.c:146:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/theme.c:187:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/theme.c:261:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/archive.c:118:5: error: Mismatching allocation and deallocation: argv [mismatchAllocDealloc] lxappearance-obconf-0.2.4/src/archive.c:95:12: note: Mismatching allocation and deallocation: argv lxappearance-obconf-0.2.4/src/archive.c:118:5: note: Mismatching allocation and deallocation: argv lxappearance-obconf-0.2.4/src/archive.c:198:5: error: Mismatching allocation and deallocation: argv [mismatchAllocDealloc] lxappearance-obconf-0.2.4/src/archive.c:182:12: note: Mismatching allocation and deallocation: argv lxappearance-obconf-0.2.4/src/archive.c:198:5: note: Mismatching allocation and deallocation: argv lxappearance-obconf-0.2.4/src/tree.c:112:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] lxappearance-obconf-0.2.4/src/theme.c:197:17: style: Local variable 'it' shadows outer variable [shadowVariable] lxappearance-obconf-0.2.4/src/theme.c:178:12: note: Shadowed declaration lxappearance-obconf-0.2.4/src/theme.c:197:17: note: Shadow variable lxappearance-obconf-0.2.4/src/theme.c:99:8: warning: Uninitialized variable: name [uninitvar] lxappearance-obconf-0.2.4/src/theme.c:95:39: note: Assuming condition is false lxappearance-obconf-0.2.4/src/theme.c:99:8: note: Uninitialized variable: name diff: head lxappearance-obconf-0.2.4/src/appearance.c:198:0: error: failed to evaluate #if condition, undefined function-like macro invocation: RR_CHECK_VERSION( ... ) [syntaxError] 2.18.0 lxappearance-obconf-0.2.4/src/appearance.c:221:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RR_FONTWEIGHT_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 lxappearance-obconf-0.2.4/src/appearance.c:283:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RR_FONTWEIGHT_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 lxappearance-obconf-0.2.4/src/appearance.c:325:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] 2.18.0 lxappearance-obconf-0.2.4/src/main.c:144:36: style: Parameter 'dlg' can be declared as pointer to const. However it seems that 'on_response' is a callback function, if 'dlg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lxappearance-obconf-0.2.4/src/main.c:193:5: note: You might need to cast the function pointer here lxappearance-obconf-0.2.4/src/main.c:144:36: note: Parameter 'dlg' can be declared as pointer to const 2.18.0 lxappearance-obconf-0.2.4/src/main.c:144:64: style: Parameter 'app' can be declared as pointer to const. However it seems that 'on_response' is a callback function, if 'app' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lxappearance-obconf-0.2.4/src/main.c:193:5: note: You might need to cast the function pointer here lxappearance-obconf-0.2.4/src/main.c:144:64: note: Parameter 'app' can be declared as pointer to const 2.18.0 lxappearance-obconf-0.2.4/src/main.c:146:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_APPLY [valueFlowBailoutIncompleteVar] 2.18.0 lxappearance-obconf-0.2.4/src/main.c:158:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LXAPPEARANCE_ABI_VERSION [valueFlowBailoutIncompleteVar] head lxappearance-obconf-0.2.4/src/main.c:163:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] 2.18.0 lxappearance-obconf-0.2.4/src/main.c:63:40: style:inconclusive: Function 'obconf_error' argument 2 names different: declaration 'model' definition 'modal'. [funcArgNamesDifferent] lxappearance-obconf-0.2.4/src/main.h:44:40: note: Function 'obconf_error' argument 2 names different: declaration 'model' definition 'modal'. lxappearance-obconf-0.2.4/src/main.c:63:40: note: Function 'obconf_error' argument 2 names different: declaration 'model' definition 'modal'. 2.18.0 lxappearance-obconf-0.2.4/src/main.c:70:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_CLOSE [valueFlowBailoutIncompleteVar] 2.18.0 lxappearance-obconf-0.2.4/src/main.c:93:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXLONG [valueFlowBailoutIncompleteVar] 2.18.0 lxappearance-obconf-0.2.4/src/preview.c:115:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RR_SURFACE_PARENTREL [valueFlowBailoutIncompleteVar] 2.18.0 lxappearance-obconf-0.2.4/src/preview.c:336:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] head lxappearance-obconf-0.2.4/src/preview.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] 2.18.0 lxappearance-obconf-0.2.4/src/preview.c:616:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.18.0 lxappearance-obconf-0.2.4/src/preview.c:678:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] head lxappearance-obconf-0.2.4/src/preview_update.c:46:0: error: failed to evaluate #if condition, undefined function-like macro invocation: RR_CHECK_VERSION( ... ) [syntaxError] DONE