2025-08-29 16:33 ftp://ftp.de.debian.org/debian/pool/main/x/xfce4-weather-plugin/xfce4-weather-plugin_0.12.0.orig.tar.xz 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-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: 327ef3c (2025-08-29 11:03:21 +0200) count: 7 103 elapsed-time: 0.1 0.7 head-timing-info: old-timing-info: head results: xfce4-weather-plugin-0.12.0/panel-plugin/weather.h:186:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] xfce4-weather-plugin-0.12.0/panel-plugin/weather.h:186:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] xfce4-weather-plugin-0.12.0/panel-plugin/weather-scrollbox.c:119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gtk_scrollbox_parent_class [valueFlowBailoutIncompleteVar] xfce4-weather-plugin-0.12.0/panel-plugin/weather-scrollbox.c:136:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ALIGN_CENTER [valueFlowBailoutIncompleteVar] xfce4-weather-plugin-0.12.0/panel-plugin/weather-scrollbox.c:222:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_MATRIX_INIT [valueFlowBailoutIncompleteVar] xfce4-weather-plugin-0.12.0/panel-plugin/weather-scrollbox.c:184:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] xfce4-weather-plugin-0.12.0/panel-plugin/weather-scrollbox.c:201:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] diff: 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:1187:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'button_scrollbox_font_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:1763:5: note: You might need to cast the function pointer here xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:1187:47: note: Parameter 'event' can be declared as pointer to const 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:1192:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:1222:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:1239:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'button_scrollbox_color_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:1769:5: note: You might need to cast the function pointer here xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:1239:48: note: Parameter 'event' can be declared as pointer to const 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:1244:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:159:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:177:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:272:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:326:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:364:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEONAMES_USERNAME [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-config.c:953:25: style: Variable 'dialog' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1008:15: style: Variable 'ts1' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1009:15: style: Variable 'ts2' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1054:15: style: Variable 'ts_before' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1054:27: style: Variable 'ts_after' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1080:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:110:37: error: Uninitialized variable: buf [uninitvar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1116:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1155:15: style: Variable 'interval' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1156:27: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1157:20: style: Variable 'point_t' is assigned a value that is never used. [unreadVariable] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:117:20: style:inconclusive: Function 'format_date' argument 1 names different: declaration 't' definition 'date_t'. [funcArgNamesDifferent] xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.h:106:27: note: Function 'format_date' argument 1 names different: declaration 't' definition 'date_t'. xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:117:20: note: Function 'format_date' argument 1 names different: declaration 't' definition 'date_t'. 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1180:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1183:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1200:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:121:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1224:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1232:9: warning: Either the condition 'astro' is redundant or there is possible null pointer dereference: astro. [nullPointerRedundantCheck] xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1235:13: note: Assuming that condition 'astro' is not redundant xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1232:9: note: Null pointer dereference 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1266:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1296:15: style: Variable 'ts1' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1296:21: style: Variable 'ts2' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1296:27: style: Variable 'interval' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:129:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:131:14: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1336:37: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1359:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1375:16: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:1407:20: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:292:29: style: Parameter 'degrees' can be declared as pointer to const [constParameterPointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:591:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:706:32: style: Parameter 'value_start' can be declared as pointer to const [constParameterPointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:736:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:841:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:875:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:908:22: style:inconclusive: Function 'time_calc' argument 3 names different: declaration 'mon' definition 'month'. [funcArgNamesDifferent] xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.h:126:23: note: Function 'time_calc' argument 3 names different: declaration 'mon' definition 'month'. xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:908:22: note: Function 'time_calc' argument 3 names different: declaration 'mon' definition 'month'. 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:959:16: style: Variable 'a1' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:960:16: style: Variable 'a2' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-data.c:988:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:133:43: style:inconclusive: Function 'weather_dump_timezone' argument 1 names different: declaration 'timezone' definition 'tz'. [funcArgNamesDifferent] xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.h:65:50: note: Function 'weather_dump_timezone' argument 1 names different: declaration 'timezone' definition 'tz'. xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:133:43: note: Function 'weather_dump_timezone' argument 1 names different: declaration 'timezone' definition 'tz'. 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:183:16: style: Variable 'astro' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:327:34: style: Condition 'timeslice' is always true [knownConditionTrueFalse] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:346:15: style: Variable 'timeslice' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:34:35: style:inconclusive: Function 'weather_debug_init' argument 2 names different: declaration 'debug_mode' definition 'w_debug_mode'. [funcArgNamesDifferent] xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.h:52:34: note: Function 'weather_debug_init' argument 2 names different: declaration 'debug_mode' definition 'w_debug_mode'. xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:34:35: note: Function 'weather_debug_init' argument 2 names different: declaration 'debug_mode' definition 'w_debug_mode'. 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:363:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:398:5: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:398:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:398:5: warning: %d in format string (no. 27) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:398:5: warning: %d in format string (no. 30) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:398:5: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:51:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-debug.c:78:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-icon.c:366:44: error: There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. [unknownMacro] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-parsers.c:1026:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-parsers.c:135:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-parsers.c:138:9: warning: Either the condition 'astro' is redundant or there is possible null pointer dereference: astro. [nullPointerRedundantCheck] xfce4-weather-plugin-0.12.0/panel-plugin/weather-parsers.c:139:13: note: Assuming that condition 'astro' is not redundant xfce4-weather-plugin-0.12.0/panel-plugin/weather-parsers.c:138:9: note: Null pointer dereference 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-parsers.c:399:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-parsers.c:465:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-parsers.c:575:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-parsers.c:997:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:116:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:184:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:217:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:239:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:317:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:441:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:509:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_DOMAIN [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:68:15: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:66:23: note: c is initialized xfce4-weather-plugin-0.12.0/panel-plugin/weather-search.c:68:15: note: c is overwritten 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:1150:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:1213:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_NONE [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:1222:15: style: Variable 'conditions' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:1263:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_CENTER [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:129:23: style: Parameter 'event' can be declared as pointer to const. However it seems that 'lnk_clicked' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:623:5: note: You might need to cast the function pointer here xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:129:23: note: Parameter 'event' can be declared as pointer to const 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:136:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_RELEASE [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:175:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_WIDGET [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:221:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_TEXT [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:233:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:246:27: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'logo_fetched' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:315:36: note: You might need to cast the function pointer here xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:246:27: note: Parameter 'msg' can be declared as pointer to const 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:328:40: style: Parameter 'event' can be declared as pointer to const. However it seems that 'text_view_key_pressed_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:409:5: note: You might need to cast the function pointer here xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:328:40: note: Parameter 'event' can be declared as pointer to const 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:384:15: style: Variable 'conditions' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:394:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_HAND2 [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:669:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:684:45: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:685:42: style: Parameter 'fcdata' can be declared as pointer to const [constParameterPointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:770:45: style: Parameter 'astro' can be declared as pointer to const [constParameterPointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:980:30: style: Variable 'box' can be declared as pointer to const [constVariablePointer] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-summary.c:999:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather-translate.c:49:10: style: struct member 'symbol_desc::id' is never used. [unusedStructMember] 2.18.0 xfce4-weather-plugin-0.12.0/panel-plugin/weather.c:2433:50: error: There is an unknown macro here somewhere. Configuration is required. If COPYRIGHT_YEAR is a macro then please configure it. [unknownMacro] head xfce4-weather-plugin-0.12.0/panel-plugin/weather.h:186:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] head xfce4-weather-plugin-0.12.0/panel-plugin/weather.h:186:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] DONE