Snippets for aisleriot 3.22.35 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/aisleriot/3.22.35_1/150amd64-default.log.
-
../src/lib/ar-card.h:45:9: warning: packed attribute is unnecessary for 'Card' [-Wpacked] 45 | typedef union { | ^ -
../src/lib/ar-svg.c:276:3: warning: 'rsvg_handle_render_cairo_sub' is deprecated: Use 'rsvg_handle_render_layer' instead [-Wdeprecated-declarations] 276 | rsvg_handle_render_cairo_sub (RSVG_HANDLE (svg), cr, node); | ^ -
../src/ar-cursor.c:208:12: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 208 | pixbuf = gdk_pixbuf_new_from_inline (data_len, data, FALSE, NULL); | ^ -
../src/ar-stock.c:197:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[24]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 197 | { AR_STOCK_CONTENTS, N_("_Contents"), 0, GDK_KEY_F1, NULL }, | ^~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:197:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 197 | { AR_STOCK_CONTENTS, N_("_Contents"), 0, GDK_KEY_F1, NULL }, | ^~~~~~~~~~~~~~~ -
../src/ar-stock.c:198:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 198 | { AR_STOCK_FULLSCREEN, N_("_Fullscreen"), 0, GDK_KEY_F11, NULL }, | ^~~~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:198:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 198 | { AR_STOCK_FULLSCREEN, N_("_Fullscreen"), 0, GDK_KEY_F11, NULL }, | ^~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:199:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 199 | { AR_STOCK_HINT, N_("_Hint"), GDK_CONTROL_MASK, 'h', NULL }, | ^~~~~~~~~~~~~ -
../src/ar-stock.c:199:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 199 | { AR_STOCK_HINT, N_("_Hint"), GDK_CONTROL_MASK, 'h', NULL }, | ^~~~~~~~~~~ -
../src/ar-stock.c:201:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 201 | { AR_STOCK_NEW_GAME, N_("_New"), GDK_CONTROL_MASK, 'n', NULL }, | ^~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:201:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 201 | { AR_STOCK_NEW_GAME, N_("_New"), GDK_CONTROL_MASK, 'n', NULL }, | ^~~~~~~~~~ -
../src/ar-stock.c:203:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 203 | { AR_STOCK_START_NEW_GAME, N_("_New Game"), 0, 0, NULL }, | ^~~~~~~~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:203:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 203 | { AR_STOCK_START_NEW_GAME, N_("_New Game"), 0, 0, NULL }, | ^~~~~~~~~~~~~~~ -
../src/ar-stock.c:204:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 204 | { AR_STOCK_REDO_MOVE, N_("_Redo Move"), GDK_CONTROL_MASK | GDK_SHIFT_MASK, 'z', NULL }, | ^~~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:204:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 204 | { AR_STOCK_REDO_MOVE, N_("_Redo Move"), GDK_CONTROL_MASK | GDK_SHIFT_MASK, 'z', NULL }, | ^~~~~~~~~~~~~~~~ -
../src/ar-stock.c:206:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 206 | { AR_STOCK_RESET, N_("_Reset"), 0, 0, NULL }, | ^~~~~~~~~~~~~~ -
../src/ar-stock.c:206:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 206 | { AR_STOCK_RESET, N_("_Reset"), 0, 0, NULL }, | ^~~~~~~~~~~~ -
../src/ar-stock.c:208:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[23]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 208 | { AR_STOCK_RESTART_GAME, N_("_Restart"), 0, 0, NULL }, | ^~~~~~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:208:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 208 | { AR_STOCK_RESTART_GAME, N_("_Restart"), 0, 0, NULL }, | ^~~~~~~~~~~~~~ -
../src/ar-stock.c:209:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 209 | { AR_STOCK_UNDO_MOVE, N_("_Undo Move"), GDK_CONTROL_MASK, 'z', NULL }, | ^~~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:209:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 209 | { AR_STOCK_UNDO_MOVE, N_("_Undo Move"), GDK_CONTROL_MASK, 'z', NULL }, | ^~~~~~~~~~~~~~~~ -
../src/ar-stock.c:210:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 210 | { AR_STOCK_DEAL_CARDS, N_("_Deal"), GDK_CONTROL_MASK, 'd', NULL }, | ^~~~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:210:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 210 | { AR_STOCK_DEAL_CARDS, N_("_Deal"), GDK_CONTROL_MASK, 'd', NULL }, | ^~~~~~~~~~~ -
../src/ar-stock.c:211:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[27]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 211 | { AR_STOCK_LEAVE_FULLSCREEN, N_("_Leave Fullscreen"), 0, GDK_KEY_F11, NULL }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:211:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[18]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 211 | { AR_STOCK_LEAVE_FULLSCREEN, N_("_Leave Fullscreen"), 0, GDK_KEY_F11, NULL }, | ^~~~~~~~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:212:7: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 212 | { AR_STOCK_PAUSE_GAME, N_("_Pause"), 0, GDK_KEY_Pause, NULL }, | ^~~~~~~~~~~~~~~~~~~ -
../src/ar-stock.c:212:34: warning: initializing 'gchar *' (aka 'char *') with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 212 | { AR_STOCK_PAUSE_GAME, N_("_Pause"), 0, GDK_KEY_Pause, NULL }, | ^~~~~~~~~~~~ -
../src/board-noclutter.c:650:29: warning: comparison of integers of different signs: 'int' and 'guint' (aka 'unsigned int') [-Wsign-compare] 650 | slot->expansion_depth < slot->exposed) { | ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ -
../src/board-noclutter.c:1116:37: warning: comparison of integers of different signs: 'int' and 'guint' (aka 'unsigned int') [-Wsign-compare] 1116 | if (!slot || cardid < 0 || cardid >= slot->cards->len - 1) | ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ -
../src/board-noclutter.c:1179:40: warning: comparison of integers of different signs: 'guint' (aka 'unsigned int') and 'int' [-Wsign-compare] 1179 | g_assert (selection_slot->cards->len >= selection_start_card_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ -
../src/board-noclutter.c:2521:59: warning: comparison of integers of different signs: 'guint32' (aka 'unsigned int') and 'int' [-Wsign-compare] 2521 | (event->time - priv->last_click_time <= ar_style_get_double_click_time (priv->style)) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/board-noclutter.c:3158:7: warning: 'DEBUG_DRAWING' is not defined, evaluates to 0 [-Wundef] 3158 | #if DEBUG_DRAWING | ^ -
../src/board-noclutter.c:2922:17: warning: comparison of integers of different signs: 'int' and 'guint' (aka 'unsigned int') [-Wsign-compare] 2922 | for (i = 0; i < n_slots; ++i) { | ~ ^ ~~~~~~~ -
../src/board-noclutter.c:2945:17: warning: comparison of integers of different signs: 'int' and 'guint' (aka 'unsigned int') [-Wsign-compare] 2945 | for (i = 0; i < n_exposed_slots; ++i) { | ~ ^ ~~~~~~~~~~~~~~~ -
../src/board-noclutter.c:2975:17: warning: comparison of integers of different signs: 'int' and 'guint' (aka 'unsigned int') [-Wsign-compare] 2975 | for (i = 0; i < n_exposed_slots; ++i) { | ~ ^ ~~~~~~~~~~~~~~~ -
../src/board-noclutter.c:3029:25: warning: comparison of integers of different signs: 'guint' (aka 'unsigned int') and 'int' [-Wsign-compare] 3029 | if (G_UNLIKELY (j >= highlight_start_card_id)) { | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~