Snippets for gnupg 2.4.9 from Fedora aarch64
Sourced from https://kojipkgs.fedoraproject.org/packages/gnupg2/2.4.9/16.fc45/data/logs/aarch64/build.log.
-
dotlock.c:667:10: warning: ignoring return value of ‘link’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 667 | (void) link (tname, lname); | ^~~~~~~~~~~~~~~~~~~ -
dotlock.c:1349:14: warning: ignoring return value of ‘link’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1349 | (void) link (h->tname, h->lockname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
miscellaneous.c:103:3: warning: ‘gcry_set_log_handler’ is deprecated [-Wdeprecated-declarations] 103 | gcry_set_log_handler (my_gcry_logger, NULL); | ^~~~~~~~~~~~~~~~~~~~ -
signal.c:113:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 113 | (void)write (2, "\n", 1 ); | ^~~~~~~~~~~~~~~~~~~ -
signal.c:116:11: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 116 | (void)write(2, s, strlen (s)); | ^~~~~~~~~~~~~~~~~~~~~~~ -
signal.c:117:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 117 | (void)write (2, ": signal ", 9 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
signal.c:120:12: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 120 | (void) write (2, s, strlen(s) ); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
signal.c:130:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 130 | (void)write (2, "?", 1); | ^~~~~~~~~~~~~~~~~ -
signal.c:139:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 139 | (void)write (2, &"0123456789"[value/i], 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
signal.c:147:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 147 | (void)write (2, " caught ... exiting\n", 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
stringhelp.c:379:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 379 | if ( !(p=strrchr(filepath, '/')) ) | ^ -
stringhelp.c:408:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 408 | if ( !(p=strrchr(filepath, '/')) ) | ^ -
stringhelp.c:1432:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1432 | pend = strchr (p, ' '); | ^ -
stringhelp.c:1470:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1470 | pend = strchr (p, ':'); | ^ -
server-help.c:173:5: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 173 | s = strstr (line, name); | ^ -
ssh-utils.c:85:7: warning: variable ‘idx’ set but not used [-Wunused-but-set-variable=] 85 | int idx; | ^~~ -
exechelp-posix.c:301:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 301 | arg_list[0] = strrchr (pgmname, '/'); | ^ -
dotlock.c:667:10: warning: ignoring return value of ‘link’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 667 | (void) link (tname, lname); | ^~~~~~~~~~~~~~~~~~~ -
dotlock.c:1349:14: warning: ignoring return value of ‘link’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1349 | (void) link (h->tname, h->lockname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
stringhelp.c:379:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 379 | if ( !(p=strrchr(filepath, '/')) ) | ^ -
stringhelp.c:408:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 408 | if ( !(p=strrchr(filepath, '/')) ) | ^ -
stringhelp.c:1432:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1432 | pend = strchr (p, ' '); | ^ -
stringhelp.c:1470:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1470 | pend = strchr (p, ':'); | ^ -
signal.c:113:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 113 | (void)write (2, "\n", 1 ); | ^~~~~~~~~~~~~~~~~~~ -
signal.c:116:11: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 116 | (void)write(2, s, strlen (s)); | ^~~~~~~~~~~~~~~~~~~~~~~ -
signal.c:117:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 117 | (void)write (2, ": signal ", 9 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
signal.c:120:12: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 120 | (void) write (2, s, strlen(s) ); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
signal.c:130:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 130 | (void)write (2, "?", 1); | ^~~~~~~~~~~~~~~~~ -
signal.c:139:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 139 | (void)write (2, &"0123456789"[value/i], 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
signal.c:147:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 147 | (void)write (2, " caught ... exiting\n", 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
miscellaneous.c:103:3: warning: ‘gcry_set_log_handler’ is deprecated [-Wdeprecated-declarations] 103 | gcry_set_log_handler (my_gcry_logger, NULL); | ^~~~~~~~~~~~~~~~~~~~ -
server-help.c:173:5: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 173 | s = strstr (line, name); | ^ -
ssh-utils.c:85:7: warning: variable ‘idx’ set but not used [-Wunused-but-set-variable=] 85 | int idx; | ^~~ -
exechelp-posix.c:301:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 301 | arg_list[0] = strrchr (pgmname, '/'); | ^ -
t-exechelp.c:96:3: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 96 | dup (1); | ^~~~~~~ -
t-exechelp.c:97:3: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 97 | dup (1); | ^~~~~~~ -
t-exechelp.c:99:3: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 99 | dup (1); | ^~~~~~~ -
t-exechelp.c:140:9: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 140 | dup (1); | ^~~~~~~ -
t-exechelp.c:147:11: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 147 | dup (1); | ^~~~~~~ -
misc.c:1547:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1547 | char *end=strpbrk(s," ="); | ^~~~~~~ -
photoid.c:624:7: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 624 | write (to[1], image, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
photoid.h:31:6: warning: type of ‘show_photos’ does not match original declaration [-Wlto-type-mismatch] 31 | void show_photos (ctrl_t ctrl, const struct user_attribute *attrs, int count, | ^ -
keyserver-internal.h:34:24: warning: type of ‘parse_keyserver_uri’ does not match original declaration [-Wlto-type-mismatch] 34 | struct keyserver_spec *parse_keyserver_uri (const char *string, | ^ -
keyserver-internal.h:58:13: warning: type of ‘keyserver_import_mbox’ does not match original declaration [-Wlto-type-mismatch] 58 | gpg_error_t keyserver_import_mbox (ctrl_t ctrl, const char *mbox, | ^ -
keyserver-internal.h:51:5: warning: type of ‘keyserver_import_cert’ does not match original declaration [-Wlto-type-mismatch] 51 | int keyserver_import_cert (ctrl_t ctrl, const char *name, int dane_mode, | ^ -
keyserver-internal.h:45:5: warning: type of ‘keyserver_import_keyid’ does not match original declaration [-Wlto-type-mismatch] 45 | int keyserver_import_keyid (ctrl_t ctrl, u32 *keyid, | ^ -
tofu.c:1986:26: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1986 | char *choice = strchr (choices, *response); | ^~~~~~ -
photoid.h:31:6: warning: type of ‘show_photos’ does not match original declaration [-Wlto-type-mismatch] 31 | void show_photos (ctrl_t ctrl, const struct user_attribute *attrs, int count, | ^ -
keyserver-internal.h:34:24: warning: type of ‘parse_keyserver_uri’ does not match original declaration [-Wlto-type-mismatch] 34 | struct keyserver_spec *parse_keyserver_uri (const char *string, | ^ -
keyserver-internal.h:58:13: warning: type of ‘keyserver_import_mbox’ does not match original declaration [-Wlto-type-mismatch] 58 | gpg_error_t keyserver_import_mbox (ctrl_t ctrl, const char *mbox, | ^ -
keyserver-internal.h:51:5: warning: type of ‘keyserver_import_cert’ does not match original declaration [-Wlto-type-mismatch] 51 | int keyserver_import_cert (ctrl_t ctrl, const char *name, int dane_mode, | ^ -
keyserver-internal.h:45:5: warning: type of ‘keyserver_import_keyid’ does not match original declaration [-Wlto-type-mismatch] 45 | int keyserver_import_keyid (ctrl_t ctrl, u32 *keyid, | ^ -
photoid.h:31:6: warning: type of ‘show_photos’ does not match original declaration [-Wlto-type-mismatch] 31 | void show_photos (ctrl_t ctrl, const struct user_attribute *attrs, int count, | ^ -
keyserver-internal.h:34:24: warning: type of ‘parse_keyserver_uri’ does not match original declaration [-Wlto-type-mismatch] 34 | struct keyserver_spec *parse_keyserver_uri (const char *string, | ^ -
keyserver-internal.h:58:13: warning: type of ‘keyserver_import_mbox’ does not match original declaration [-Wlto-type-mismatch] 58 | gpg_error_t keyserver_import_mbox (ctrl_t ctrl, const char *mbox, | ^ -
keyserver-internal.h:51:5: warning: type of ‘keyserver_import_cert’ does not match original declaration [-Wlto-type-mismatch] 51 | int keyserver_import_cert (ctrl_t ctrl, const char *name, int dane_mode, | ^ -
keyserver-internal.h:45:5: warning: type of ‘keyserver_import_keyid’ does not match original declaration [-Wlto-type-mismatch] 45 | int keyserver_import_keyid (ctrl_t ctrl, u32 *keyid, | ^ -
photoid.h:31:6: warning: type of ‘show_photos’ does not match original declaration [-Wlto-type-mismatch] 31 | void show_photos (ctrl_t ctrl, const struct user_attribute *attrs, int count, | ^ -
keyserver-internal.h:34:24: warning: type of ‘parse_keyserver_uri’ does not match original declaration [-Wlto-type-mismatch] 34 | struct keyserver_spec *parse_keyserver_uri (const char *string, | ^ -
keyserver-internal.h:58:13: warning: type of ‘keyserver_import_mbox’ does not match original declaration [-Wlto-type-mismatch] 58 | gpg_error_t keyserver_import_mbox (ctrl_t ctrl, const char *mbox, | ^ -
keyserver-internal.h:51:5: warning: type of ‘keyserver_import_cert’ does not match original declaration [-Wlto-type-mismatch] 51 | int keyserver_import_cert (ctrl_t ctrl, const char *name, int dane_mode, | ^ -
keyserver-internal.h:45:5: warning: type of ‘keyserver_import_keyid’ does not match original declaration [-Wlto-type-mismatch] 45 | int keyserver_import_keyid (ctrl_t ctrl, u32 *keyid, | ^ -
photoid.h:31:6: warning: type of ‘show_photos’ does not match original declaration [-Wlto-type-mismatch] 31 | void show_photos (ctrl_t ctrl, const struct user_attribute *attrs, int count, | ^ -
keyserver-internal.h:34:24: warning: type of ‘parse_keyserver_uri’ does not match original declaration [-Wlto-type-mismatch] 34 | struct keyserver_spec *parse_keyserver_uri (const char *string, | ^ -
keyserver-internal.h:58:13: warning: type of ‘keyserver_import_mbox’ does not match original declaration [-Wlto-type-mismatch] 58 | gpg_error_t keyserver_import_mbox (ctrl_t ctrl, const char *mbox, | ^ -
keyserver-internal.h:51:5: warning: type of ‘keyserver_import_cert’ does not match original declaration [-Wlto-type-mismatch] 51 | int keyserver_import_cert (ctrl_t ctrl, const char *name, int dane_mode, | ^ -
keyserver-internal.h:45:5: warning: type of ‘keyserver_import_keyid’ does not match original declaration [-Wlto-type-mismatch] 45 | int keyserver_import_keyid (ctrl_t ctrl, u32 *keyid, | ^ -
gpgsm.c:2452:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2452 | av[0] = strrchr (pgm, '/'); | ^ -
cvt-openpgp.h:27:13: warning: type of ‘convert_from_openpgp_native’ does not match original declaration [-Wlto-type-mismatch] 27 | gpg_error_t convert_from_openpgp_native (ctrl_t ctrl, | ^ -
scdaemon.c:1431:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1431 | read (pipe_fd[0], buf, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
scdaemon.c:1292:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1292 | write (notify_fd, "", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
command.c:1290:7: warning: variable ‘keywordlen’ set but not used [-Wunused-but-set-variable=] 1290 | int keywordlen; | ^~~~~~~~~~ -
app.c:450:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 450 | read (card_list_lock.notify_pipe[0], buf, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
app.c:389:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 389 | write (card_list_lock.notify_pipe[1], "", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
dirmngr.c:2360:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2360 | char *slash = strrchr (socket_name, '/'); | ^~~~~~~ -
gpgconf.c:555:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 555 | p = strrchr (fields[0], '_'); | ^ -
gpg-auth.c:962:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 962 | fgets (line, ASSUAN_LINELENGTH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ffi.c:1052:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1052 | fread (b_buf, 1, 1, b_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
fake-pinentry.c:185:5: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 185 | s = strstr (line, name); | ^ -
asschk.c:1040:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1040 | p = strrchr (invocation_name, '/'); | ^ -
tpm2daemon.c:1230:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1230 | read (pipe_fd[0], buf, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
tpm2daemon.c:1062:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1062 | write (notify_fd, "", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~