Snippets for amtterm 1.7-1-unstable-2023-10-27 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/47ci3dx91dizcs6jiqh7xgzgjyqbkjy3-amtterm-1.7-1-unstable-2023-10-27.drv.
-
amtterm.c:267:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 267 | fgets(r.pass, sizeof(r.pass), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ssl.c:79:8: warning: 'TLSv1_2_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 79 | if(!(ctx->ctx=SSL_CTX_new(TLSv1_2_client_method()))) | ^~ -
amtider.c:307:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 307 | fgets(r.pass, sizeof(r.pass), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:64:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 64 | [ REDIR_NONE ] = GTK_STOCK_DISCONNECT, | ^ -
gamt.c:71:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 71 | [ REDIR_RUN_SOL ] = GTK_STOCK_CONNECT, | ^ -
gamt.c:77:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 77 | [ REDIR_CLOSED ] = GTK_STOCK_DISCONNECT, | ^ -
gamt.c:78:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 78 | [ REDIR_ERROR ] = GTK_STOCK_DISCONNECT, | ^ -
gamt.c:113:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 113 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | ^~~~~~~~~~~~~~~~ -
gamt.c:114:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 114 | GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, | ^~~~~~~~~~~~~~ -
gamt.c:154:5: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] 154 | item = gtk_ui_manager_get_widget(gamt->ui, "/MainMenu/TtyMenu/WriteLog"); | ^~~~ -
gamt.c:175:5: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] 175 | item = gtk_ui_manager_get_widget(gamt->ui, "/MainMenu/TtyMenu/WriteLog"); | ^~~~ -
gamt.c:211:5: warning: 'gtk_action_get_name' is deprecated [-Wdeprecated-declarations] 211 | if (1 != sscanf(gtk_action_get_name(action), "ConnectTo_%s", amt_host)) | ^~ -
gamt.c:247:5: warning: 'gtk_toggle_action_get_active' is deprecated [-Wdeprecated-declarations] 247 | gboolean state = gtk_toggle_action_get_active(action); | ^~~~~~~~ -
gamt.c:344:5: warning: 'gtk_toggle_action_get_active' is deprecated [-Wdeprecated-declarations] 344 | gboolean state = gtk_toggle_action_get_active(action); | ^~~~~~~~ -
gamt.c:412:27: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 412 | "logo-icon-name", GTK_STOCK_ABOUT, | ^~~~~~~~~~~~~~~~ -
gamt.c:470:9: warning: 'gtk_image_set_from_stock' is deprecated: Use 'gtk_image_set_from_icon_name' instead [-Wdeprecated-declarations] 470 | gtk_image_set_from_stock(GTK_IMAGE(gamt->icon), state_stock[new], | ^~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:506:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 506 | .stock_id = GTK_STOCK_CONNECT, | ^ -
gamt.c:511:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 511 | .stock_id = GTK_STOCK_DISCONNECT, | ^ -
gamt.c:516:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 516 | .stock_id = GTK_STOCK_SAVE, | ^ -
gamt.c:521:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 521 | .stock_id = GTK_STOCK_QUIT, | ^ -
gamt.c:534:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 534 | .stock_id = GTK_STOCK_SELECT_FONT, | ^ -
gamt.c:550:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 550 | .stock_id = GTK_STOCK_HELP, | ^ -
gamt.c:555:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 555 | .stock_id = GTK_STOCK_INFO, | ^ -
gamt.c:560:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 560 | .stock_id = GTK_STOCK_ABOUT, | ^ -
gamt.c:640:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 640 | GTK_STOCK_OK, | ^~~~~~~~~~~~ -
gamt.c:642:42: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 642 | GTK_STOCK_CANCEL, | ^~~~~~~~~~~~~~~~ -
gamt.c:648:5: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 648 | gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); | ^~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:706:9: warning: 'gtk_ui_manager_remove_ui' is deprecated [-Wdeprecated-declarations] 706 | gtk_ui_manager_remove_ui(gamt->ui, gamt->hosts_id); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:710:9: warning: 'gtk_ui_manager_remove_action_group' is deprecated [-Wdeprecated-declarations] 710 | gtk_ui_manager_remove_action_group(gamt->ui, gamt->hosts_ag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:718:5: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] 718 | gamt->hosts_ag = gtk_action_group_new("HostActions"); | ^~~~ -
gamt.c:732:9: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations] 732 | gtk_action_group_add_actions(gamt->hosts_ag, &entry, 1, gamt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:737:5: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] 737 | gtk_ui_manager_insert_action_group(gamt->ui, gamt->hosts_ag, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:738:5: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] 738 | gamt->hosts_id = gtk_ui_manager_add_ui_from_string(gamt->ui, hosts_xml, -1, &err); | ^~~~ -
gamt.c:809:5: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations] 809 | gamt->ui = gtk_ui_manager_new(); | ^~~~ -
gamt.c:810:5: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] 810 | gamt->ag = gtk_action_group_new("MenuActions"); | ^~~~ -
gamt.c:811:5: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations] 811 | gtk_action_group_add_actions(gamt->ag, entries, G_N_ELEMENTS(entries), gamt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:812:5: warning: 'gtk_action_group_add_toggle_actions' is deprecated [-Wdeprecated-declarations] 812 | gtk_action_group_add_toggle_actions(gamt->ag, tentries, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:814:5: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] 814 | gtk_ui_manager_insert_action_group(gamt->ui, gamt->ag, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:821:5: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] 821 | if (!gtk_ui_manager_add_ui_from_string(gamt->ui, ui_xml, -1, &err)) { | ^~ -
gamt.c:842:5: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] 842 | item = gtk_ui_manager_get_widget(gamt->ui, "/MainMenu/ConfigMenu/BlinkCursor"); | ^~~~ -
gamt.c:850:5: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 850 | gtk_misc_set_alignment(GTK_MISC(gamt->status), 0, 0.5); | ^~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:851:5: warning: 'gtk_misc_set_padding' is deprecated [-Wdeprecated-declarations] 851 | gtk_misc_set_padding(GTK_MISC(gamt->status), 3, 1); | ^~~~~~~~~~~~~~~~~~~~ -
gamt.c:852:5: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 852 | gamt->icon = gtk_image_new_from_stock(GTK_STOCK_DISCONNECT, | ^~~~ -
gamt.c:852:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 852 | gamt->icon = gtk_image_new_from_stock(GTK_STOCK_DISCONNECT, | ^~~~ -
gamt.c:860:5: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] 860 | item = gtk_ui_manager_get_widget(gamt->ui, "/MainMenu"); | ^~~~ -
gamt.c:450:48: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 56 and 119 [-Wformat-truncation=] 450 | snprintf(buf, sizeof(buf), "%s: ERROR: %s", gamt->redir.host, | ^~