Snippets for abook 0.6.2 from Alpine ppc64le
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/community/abook/abook-0.6.2-r0.log.
-
getopt1.c:67:5: warning: old-style function definition [-Wold-style-definition] 67 | getopt_long(argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~ -
getopt1.c:83:5: warning: old-style function definition [-Wold-style-definition] 83 | getopt_long_only(argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~~ -
getopt.c:218:6: warning: old-style function definition [-Wold-style-definition] 218 | my_index(str, chr) | ^~~~~~~~ -
getopt.c:295:6: warning: old-style function definition [-Wold-style-definition] 295 | exchange(argv) | ^~~~~~~~ -
getopt.c:357:6: warning: old-style function definition [-Wold-style-definition] 357 | _getopt_initialize(argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ -
getopt.c:470:5: warning: old-style function definition [-Wold-style-definition] 470 | _getopt_internal(argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ -
getopt.c:925:5: warning: old-style function definition [-Wold-style-definition] 925 | getopt(argc, argv, optstring) | ^~~~~~ -
gettext.h:9:27: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9 | # define gettext(Msgid) ((const char *) (Msgid)) | ~^~~~~~~~~~~~~~~~~~~~~~~ -
edit.c:211:16: warning: variable 'x' set but not used [-Wunused-but-set-variable] 211 | int y, x; | ^ -
edit.c:684:47: warning: variable 'window_x' set but not used [-Wunused-but-set-variable] 684 | int window_y, window_x; | ^~~~~~~~ -
filter.c:1961:33: warning: unused variable 'custom_fieldsl' [-Wunused-variable] 1961 | abook_field_list *cur, *custom_fieldsl; | ^~~~~~~~~~~~~~ -
abook.c:523:17: warning: 'export_file' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] 523 | export_file("muttq", "-"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
abook.c:332:32: warning: 'select_output_item_filter' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] 332 | selected_item_filter = select_output_item_filter("muttq"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
abook.c:442:40: warning: 'select_output_item_filter' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] 442 | selected_item_filter = select_output_item_filter("muttq"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ui.c:308:61: warning: array subscript has type 'char' [-Wchar-subscripts] 308 | helpline[i-1] = remap_table[helpline[i-1]]; | ~~~~~~~~^~~~~ -
ui.c:818:9: warning: 'fexport' accessing 8 bytes in a region of size 5 [-Wstringop-overflow=] 818 | fexport("text", handle, mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
filter.c:690:15: warning: array subscript 18 is outside array bounds of 'char *[18]' [-Warray-bounds=] 690 | if(!li[LDIF_OBJECTCLASS]) | ~~^~~~~~~~~~~~~~~~~~