Snippets for abook 0.6.2 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/abook/0.6.2/150arm64-default.log.
-
database.c:740:7: warning: call to undeclared library function 'isalnum' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | if (isalnum (*str)) *(p++) = *str; | ^ -
./getopt.h:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 109 | extern int getopt(); | ^ -
filter.c:1961:26: warning: unused variable 'custom_fieldsl' [-Wunused-variable] 1961 | abook_field_list *cur, *custom_fieldsl; | ^~~~~~~~~~~~~~ -
getopt.c:217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | my_index(str, chr) | ^ -
getopt.c:294:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | exchange(argv) | ^ -
getopt.c:356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | _getopt_initialize(argc, argv, optstring) | ^ -
getopt.c:369:26: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | posixly_correct = getenv("POSIXLY_CORRECT"); | ^ -
getopt.c:469:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | _getopt_internal(argc, argv, optstring, longopts, longind, long_only) | ^ -
getopt.c:532:26: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 532 | if (optind != argc && !strcmp(argv[optind], "--")) | ^ -
getopt.c:608:9: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 608 | if (!strncmp(p->name, nextchar, nameend - nextchar)) | ^ -
getopt.c:611:27: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 611 | == (unsigned int) strlen(p->name)) | ^ -
getopt.c:924:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | getopt(argc, argv, optstring) | ^ -
./getopt.h:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | extern int getopt(); | ^ -
getopt1.c:67:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | getopt_long(argc, argv, options, long_options, opt_index) | ^ -
getopt1.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | getopt_long_only(argc, argv, options, long_options, opt_index) | ^ -
remap.c:26:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 26 | return _("remap key out of range"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ui.c:308:31: warning: array subscript is of type 'char' [-Wchar-subscripts] 308 | helpline[i-1] = remap_table[helpline[i-1]]; | ^~~~~~~~~~~~~~