=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/wap-utils", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for wap-utils-1.3.2nb11 --- ./stamp-h.in --- cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- all-recursive-am --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in intl --- libintl.h --- --- intl-compat.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses intl-compat.c --- libintl.h --- cp ./libgnuintl.h libintl.h --- bindtextdom.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses bindtextdom.c --- intl-compat.o --- In file included from intl-compat.c:25: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ intl-compat.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gettext (msgid) ^ intl-compat.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dgettext (domainname, msgid) ^ intl-compat.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dcgettext (domainname, msgid, category) ^ intl-compat.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ngettext (msgid1, msgid2, n) ^ intl-compat.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dngettext (domainname, msgid1, msgid2, n) ^ intl-compat.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dcngettext (domainname, msgid1, msgid2, n, category) ^ intl-compat.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] textdomain (domainname) ^ intl-compat.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bindtextdomain (domainname, dirname) ^ intl-compat.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bind_textdomain_codeset (domainname, codeset) ^ 10 warnings generated. --- dcgettext.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses dcgettext.c --- bindtextdom.o --- In file included from bindtextdom.c:32: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ bindtextdom.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_binding_values (domainname, dirnamep, codesetp) ^ bindtextdom.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BINDTEXTDOMAIN (domainname, dirname) ^ bindtextdom.c:80:25: note: expanded from macro 'BINDTEXTDOMAIN' # define BINDTEXTDOMAIN bindtextdomain__ ^ bindtextdom.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BIND_TEXTDOMAIN_CODESET (domainname, codeset) ^ bindtextdom.c:81:34: note: expanded from macro 'BIND_TEXTDOMAIN_CODESET' # define BIND_TEXTDOMAIN_CODESET bind_textdomain_codeset__ ^ 4 warnings generated. --- dgettext.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses dgettext.c --- dcgettext.o --- In file included from dcgettext.c:23: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ dcgettext.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCGETTEXT (domainname, msgid, category) ^ dcgettext.c:40:20: note: expanded from macro 'DCGETTEXT' # define DCGETTEXT dcgettext__ ^ 2 warnings generated. --- gettext.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses gettext.c --- dgettext.o --- In file included from dgettext.c:25: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ dgettext.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DGETTEXT (domainname, msgid) ^ dgettext.c:42:19: note: expanded from macro 'DGETTEXT' # define DGETTEXT dgettext__ ^ 2 warnings generated. --- finddomain.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses finddomain.c --- gettext.o --- In file included from gettext.c:30: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ gettext.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETTEXT (msgid) ^ gettext.c:47:18: note: expanded from macro 'GETTEXT' # define GETTEXT gettext__ ^ 2 warnings generated. --- loadmsgcat.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses loadmsgcat.c --- finddomain.o --- In file included from finddomain.c:33: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ finddomain.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_find_domain (dirname, locale, domainname, domainbinding) ^ 2 warnings generated. --- localealias.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses localealias.c --- loadmsgcat.o --- In file included from loadmsgcat.c:75: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ loadmsgcat.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_init_domain_conv (domain_file, domain, domainbinding) ^ loadmsgcat.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_free_domain_conv (domain) ^ loadmsgcat.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_load_domain (domain_file, domainbinding) ^ 4 warnings generated. --- textdomain.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses textdomain.c --- localealias.o --- In file included from localealias.c:57: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ localealias.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_expand_alias (name) ^ localealias.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_alias_file (fname, fname_len) ^ localealias.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alias_compare (map1, map2) ^ 4 warnings generated. --- l10nflist.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses l10nflist.c --- textdomain.o --- In file included from textdomain.c:31: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ textdomain.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TEXTDOMAIN (domainname) ^ textdomain.c:70:21: note: expanded from macro 'TEXTDOMAIN' # define TEXTDOMAIN textdomain__ ^ 2 warnings generated. --- explodename.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses explodename.c --- l10nflist.o --- l10nflist.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argz_count__ (argz, len) ^ l10nflist.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argz_stringify__ (argz, len, sep) ^ l10nflist.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argz_next__ (argz, argz_len, entry) ^ l10nflist.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pop (x) ^ l10nflist.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, ^ l10nflist.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_normalize_codeset (codeset, name_len) ^ 6 warnings generated. --- dcigettext.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses dcigettext.c --- explodename.o --- explodename.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_find_language (name) ^ explodename.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_explode_name (name, language, modifier, territory, codeset, ^ 2 warnings generated. --- dcngettext.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses dcngettext.c --- dcigettext.o --- In file included from dcigettext.c:71: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ In file included from dcigettext.c:78: ./hash-string.h:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash_string (str_param) ^ dcigettext.c:132:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getcwd (); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:449:7: note: conflicting prototype is here char *getcwd(char *, size_t); ^ dcigettext.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] transcmp (p1, p2) ^ In file included from dcigettext.c:385: ./eval-plural.h:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plural_eval (pexp, n) ^ dcigettext.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) ^ dcigettext.c:346:21: note: expanded from macro 'DCIGETTEXT' # define DCIGETTEXT dcigettext__ ^ dcigettext.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_find_msg (domain_file, domainbinding, msgid, lengthp) ^ dcigettext.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plural_lookup (domain, n, translation, translation_len) ^ dcigettext.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] category_to_name (category) ^ dcigettext.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] guess_category_value (category, categoryname) ^ dcigettext.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mempcpy (dest, src, n) ^ --- dcngettext.o --- In file included from dcngettext.c:23: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ dcngettext.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCNGETTEXT (domainname, msgid1, msgid2, n, category) ^ dcngettext.c:40:21: note: expanded from macro 'DCNGETTEXT' # define DCNGETTEXT dcngettext__ ^ 2 warnings generated. --- dngettext.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses dngettext.c --- dcigettext.o --- 11 warnings generated. --- ngettext.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses ngettext.c --- dngettext.o --- In file included from dngettext.c:25: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ dngettext.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DNGETTEXT (domainname, msgid1, msgid2, n) ^ dngettext.c:42:20: note: expanded from macro 'DNGETTEXT' # define DNGETTEXT dngettext__ ^ 2 warnings generated. --- plural-exp.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses plural-exp.c --- ngettext.o --- In file included from ngettext.c:30: ./gettextP.h:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAP (i) ^ ngettext.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NGETTEXT (msgid1, msgid2, n) ^ ngettext.c:49:19: note: expanded from macro 'NGETTEXT' # define NGETTEXT ngettext__ ^ 2 warnings generated. --- localcharset.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses localcharset.c --- plural-exp.o --- plural-exp.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EXTRACT_PLURAL_EXPRESSION (nullentry, pluralp, npluralsp) ^ ./plural-exp.h:100:36: note: expanded from macro 'EXTRACT_PLURAL_EXPRESSION' # define EXTRACT_PLURAL_EXPRESSION gettext_extract_plural__ ^ 1 warning generated. --- localename.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses localename.c --- osdep.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses osdep.c --- charset.alias --- /bin/sh ./config.charset 'aarch64-apple-darwin23' > t-charset.alias mv t-charset.alias charset.alias --- ref-add.sed --- sed -e '/^#/d' -e 's/@''PACKAGE''@/ap-utils/g' ref-add.sin > t-ref-add.sed mv t-ref-add.sed ref-add.sed --- localename.o --- localename.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _nl_locale_name (category, categoryname) ^ 1 warning generated. --- ref-del.sed --- --- plural.o --- --- ref-del.sed --- sed -e '/^#/d' -e 's/@''PACKAGE''@/ap-utils/g' ref-del.sin > t-ref-del.sed --- plural.o --- clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses plural.c --- ref-del.sed --- mv t-ref-del.sed ref-del.sed --- plural.o --- plural.y:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_exp (nargs, op, args) ^ plural.y:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_exp_0 (op) ^ plural.y:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_exp_1 (op, right) ^ plural.y:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_exp_2 (op, left, right) ^ plural.y:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_exp_3 (op, bexp, tbranch, fbranch) ^ /usr/local/share/bison.simple:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyparse(YYPARSE_PARAM_ARG) ^ plural.c:7:17: note: expanded from macro 'yyparse' #define yyparse __gettextparse ^ plural.y:40:25: note: expanded from macro '__gettextparse' # define __gettextparse PLURAL_PARSE ^ ./plural-exp.h:98:23: note: expanded from macro 'PLURAL_PARSE' # define PLURAL_PARSE gettextparse__ ^ plural.y:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE_EXPRESSION (exp) ^ ./plural-exp.h:97:26: note: expanded from macro 'FREE_EXPRESSION' # define FREE_EXPRESSION gettext_free_exp__ ^ plural.y:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yylex (lval, pexp) ^ plural.c:8:15: note: expanded from macro 'yylex' #define yylex __gettextlex ^ plural.y:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyerror (str) ^ plural.c:9:17: note: expanded from macro 'yyerror' #define yyerror __gettexterror ^ 9 warnings generated. --- libintl.a --- rm -f libintl.a ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o localename.o osdep.o ranlib libintl.a Making all in lib --- reset.o --- --- snmp.o --- --- reset.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c reset.c --- snmp.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c snmp.c --- reset.o --- reset.c:36:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = sysReset; ^ ~~~~~~~~ reset.c:38:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = &enable; ^ ~~~~~~~ reset.c:45:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = operESSID; ^ ~~~~~~~~~ 3 warnings generated. --- snmp.o --- snmp.c:154:15: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = ber(message, varbindlist, num, type); ^~~~~~~ snmp.c:49:15: note: passing argument to parameter 'message' here int ber(char *message, varbind * varbindlist, int num, int type) ^ snmp.c:171:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] start = buf; ^ ~~~ 2 warnings generated. --- libap.a --- rm -f libap.a ar cru libap.a reset.o snmp.o ranlib libap.a Making all in src --- ap-config.o --- --- aps.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c aps.c --- ap-config.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c ap-config.c --- aps.o --- aps.c:88:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:90:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:122:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:126:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = &c; ^ ~~ aps.c:141:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = KnownAP; ^ ~~~~~~~ aps.c:144:23: warning: assigning to 'unsigned char *' from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = value; ^ ~~~~~ aps.c:223:30: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[2].oid = bridgeRemoteBridgeBSSID; ^ ~~~~~~~~~~~~~~~~~~~~~~~ aps.c:225:25: warning: assigning to 'unsigned char *' from 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[2].value = ap[j-1].mac; ^ ~~~~~~~~~~~ aps.c:228:30: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = operESSIDLength; ^ ~~~~~~~~~~~~~~~ aps.c:230:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = (char *) &ap[j-1].essid_len; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ aps.c:233:30: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[1].oid = operESSID; ^ ~~~~~~~~~ aps.c:235:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[1].value = ap[j-1].essid; ^ ~~~~~~~~~~~~~ aps.c:274:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:276:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = (char *) &bridge_mode; ^ ~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. --- ap_search.o --- --- auth_mac.o --- --- ap_search.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c ap_search.c --- auth_mac.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c auth_mac.c auth_mac.c:71:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = EnableAuthMAC; ^ ~~~~~~~~~~~~~ auth_mac.c:96:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = AutorizedMac; ^ ~~~~~~~~~~~~ auth_mac.c:98:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = (char *) &get; ^ ~~~~~~~~~~~~~ auth_mac.c:216:18: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_mac(1, 15, curr->addr); ^~~~~~~~~~ ../lib/ap-utils.h:260:37: note: passing argument to parameter here extern void get_mac(int, int, char *); ^ auth_mac.c:225:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = EnableAuthMAC; ^ ~~~~~~~~~~~~~ auth_mac.c:228:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = (char *) &auth_mac_hw; ^ ~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:243:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = AutorizedMac; ^ ~~~~~~~~~~~~ auth_mac.c:245:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = (char *) &get; ^ ~~~~~~~~~~~~~ auth_mac.c:324:21: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = Mac; ^ ~~~ auth_mac.c:326:23: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = Mac; ^ ~~~ auth_mac.c:341:18: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = Mac; ^ ~~~ auth_mac.c:343:20: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = Mac; ^ ~~~ auth_mac.c:346:18: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[1].oid = MacAllow; ^ ~~~~~~~~ auth_mac.c:348:20: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[1].value = Mac; ^ ~~~ auth_mac.c:351:18: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[2].oid = MacRowStatus; ^ ~~~~~~~~~~~~ auth_mac.c:353:20: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[2].value = Mac; ^ ~~~ auth_mac.c:377:18: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = Mac; ^ ~~~ auth_mac.c:379:20: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = Mac; ^ ~~~ auth_mac.c:455:21: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_mac(1, 20, curr->addr); ^~~~~~~~~~ ../lib/ap-utils.h:260:37: note: passing argument to parameter here extern void get_mac(int, int, char *); ^ auth_mac.c:471:22: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = Mac; ^ ~~~ auth_mac.c:473:24: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = Mac; ^ ~~~ auth_mac.c:484:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = MacRowStatus; ^ ~~~~~~~~~~~~ auth_mac.c:486:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = &destroy; ^ ~~~~~~~~ auth_mac.c:493:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = Mac; ^ ~~~ auth_mac.c:495:21: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = Mac; ^ ~~~ auth_mac.c:513:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = MacRowStatus; ^ ~~~~~~~~~~~~ auth_mac.c:515:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = &create; ^ ~~~~~~~ auth_mac.c:518:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[1].oid = Mac; ^ ~~~ auth_mac.c:520:21: warning: assigning to 'unsigned char *' from 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[1].value = auth_enable; ^ ~~~~~~~~~~~ auth_mac.c:523:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[2].oid = MacAllow; ^ ~~~~~~~~ auth_mac.c:525:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[2].value = &allow; ^ ~~~~~~ auth_mac.c:544:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = MacRowStatus; ^ ~~~~~~~~~~~~ auth_mac.c:546:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = &create; ^ ~~~~~~~ auth_mac.c:549:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[1].oid = Mac; ^ ~~~ auth_mac.c:554:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[2].oid = MacAllow; ^ ~~~~~~~~ auth_mac.c:556:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[2].value = &allow; ^ ~~~~~~ --- ap_search.o --- ap_search.c:58:35: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char message[1024], *comm = community, *start; ^ ~~~~~~~~~ ap_search.c:127:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = Wireless[ap_type]; ^ ~~~~~~~~~~~~~~~~~ ap_search.c:134:15: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = ber(message, varbinds, 1, GET); ^~~~~~~ ../lib/ap-utils.h:283:22: note: passing argument to parameter here extern int ber(char *, varbind *, int, int); ^ ap_search.c:138:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, _("Invalid sendto: %s. Press any key."), ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ ap_search.c:140:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] print_help(message); ^~~~~~~ ../lib/ap-utils.h:256:30: note: passing argument to parameter here extern void print_help(char *); ^ ap_search.c:155:9: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &client_len)) == -1) ^~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/socket.h:732:27: note: passing argument to parameter here socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); ^ ap_search.c:188:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, "%5s %15s", ap_types[ap_type], inet_ntoa(from.sin_addr)); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ ap_search.c:189:6: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, i+1, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ ap_search.c:203:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] community = comm; ^ ~~~~ --- auth_mac.o --- 36 warnings generated. --- bridge.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c bridge.c --- ap_search.o --- 9 warnings generated. --- cmd.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c cmd.c cmd.c:66:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = sysLoadDefaults; ^ ~~~~~~~~~~~~~~~ cmd.c:68:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = &enable; ^ ~~~~~~~ cmd.c:129:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = sysUpload; ^ ~~~~~~~~~ cmd.c:131:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].value = &enable; ^ ~~~~~~~ 4 warnings generated. --- common.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c common.c --- bridge.o --- bridge.c:131:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[0].oid = IPFilter; ^ ~~~~~~~~ bridge.c:132:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[1].oid = PrimaryPort; ^ ~~~~~~~~~~~ bridge.c:133:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[2].oid = operDHCP; ^ ~~~~~~~~ bridge.c:134:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[3].oid = operEthernetAddress; ^ ~~~~~~~~~~~~~~~~~~~ bridge.c:135:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[4].oid = operIPAddress; ^ ~~~~~~~~~~~~~ bridge.c:136:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[5].oid = operIPMask; ^ ~~~~~~~~~~ bridge.c:137:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[6].oid = operGateway; ^ ~~~~~~~~~~~ bridge.c:138:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[7].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:139:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[8].oid = sysTrapSwitch; ^ ~~~~~~~~~~~~~ bridge.c:140:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[9].oid = bridgeRemoteBridgeBSSID; ^ ~~~~~~~~~~~~~~~~~~~~~~~ bridge.c:148:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, MAC, ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:155:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 0, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:166:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, PR_PORT, ports[primary_port - 1]); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:167:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 4, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:170:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, _("Attached Station MAC: %02X%02X%02X%02X%02X%02X"), ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:183:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, REMOTE_MAC, ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:187:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 7, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:193:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, "[I] IP: %s", inet_ntoa(ip)); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:194:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 1, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:195:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, _("[N] Netmask: %s"), inet_ntoa(mask)); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:196:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 1, 24, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:197:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, _("[G] Gateway %s"), inet_ntoa(gw)); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:198:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 2, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:199:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, IP_FILTER, (filter == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:200:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 3, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:201:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, DHCP, (dhcp == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:202:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 5, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:203:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, OPER, bridge_modes[bridge_mode - 1]); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:204:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 6, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:205:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, TRAPS, (traps == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:206:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 8, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:215:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_value(message, 1, 8, 16); ^~~~~~~ ../lib/ap-utils.h:259:29: note: passing argument to parameter here extern int get_value(char *, int, int, int); ^ bridge.c:216:22: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(inet_aton(message, &ip))) { ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/arpa/inet.h:83:29: note: passing argument to parameter here int inet_aton(const char *, struct in_addr *); ^ bridge.c:225:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_value(message, 1, 37, 16); ^~~~~~~ ../lib/ap-utils.h:259:29: note: passing argument to parameter here extern int get_value(char *, int, int, int); ^ bridge.c:226:22: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(inet_aton(message, &mask))) { ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/arpa/inet.h:83:29: note: passing argument to parameter here int inet_aton(const char *, struct in_addr *); ^ bridge.c:235:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_value(message, 2, 12, 16); ^~~~~~~ ../lib/ap-utils.h:259:29: note: passing argument to parameter here extern int get_value(char *, int, int, int); ^ bridge.c:236:22: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(inet_aton(message, &gw))) { ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/arpa/inet.h:83:29: note: passing argument to parameter here int inet_aton(const char *, struct in_addr *); ^ bridge.c:247:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, IP_FILTER, (filter == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:248:6: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 3, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:256:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, TRAPS, (traps == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:257:6: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 8, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:267:11: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, PR_PORT, ports[primary_port - 1]); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:268:3: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 4, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:277:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, DHCP, (dhcp == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:278:6: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 5, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:285:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, OPER, bridge_modes[bridge_mode - 1]); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:287:6: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 6, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:289:11: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, REMOTE_MAC, ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:296:3: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 7, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:303:21: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_mac(7, 21, RemoteBSSID); ^~~~~~~~~~~ ../lib/ap-utils.h:260:37: note: passing argument to parameter here extern void get_mac(int, int, char *); ^ bridge.c:310:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, REMOTE_MAC, ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ bridge.c:314:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mvwaddstr(main_sub, 7, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:1345:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses.h:847:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:322:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].oid = IPFilter; ^ ~~~~~~~~ bridge.c:325:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].value = (char *) &filter; ^ ~~~~~~~~~~~~~~~~ bridge.c:330:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].oid = PrimaryPort; ^ ~~~~~~~~~~~ bridge.c:333:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].value = (char *) &primary_port; ^ ~~~~~~~~~~~~~~~~~~~~~~ bridge.c:338:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].oid = operDHCP; ^ ~~~~~~~~ bridge.c:341:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].value = (char *) &dhcp; ^ ~~~~~~~~~~~~~~ bridge.c:346:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].oid = operIPAddress; ^ ~~~~~~~~~~~~~ bridge.c:349:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].value = (char *) &ip.s_addr; ^ ~~~~~~~~~~~~~~~~~~~ bridge.c:355:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].oid = operIPMask; ^ ~~~~~~~~~~ bridge.c:358:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].value = (char *) &mask.s_addr; ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:364:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].oid = operGateway; ^ ~~~~~~~~~~~ bridge.c:367:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].value = (char *) &gw.s_addr; ^ ~~~~~~~~~~~~~~~~~~~ bridge.c:373:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].oid = sysTrapSwitch; ^ ~~~~~~~~~~~~~ bridge.c:381:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:383:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].value = (char *) &bridge_mode; ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:389:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] varbinds[i].oid = bridgeRemoteBridgeBSSID; ^ ~~~~~~~~~~~~~~~~~~~~~~~ 68 warnings generated. --- file.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c file.c --- common.o --- common.c:123:12: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_value(message, 1, 26, 16); ^~~~~~~ ../lib/ap-utils.h:259:29: note: passing argument to parameter here extern int get_value(char *, int, int, int); ^ common.c:124:29: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } while ((i = inet_addr(message)) == -1); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/arpa/inet.h:75:34: note: passing argument to parameter here in_addr_t inet_addr(const char *); ^ common.c:125:18: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] print_bottom(message); ^~~~~~~ ../lib/ap-utils.h:255:32: note: passing argument to parameter here extern void print_bottom(char *); ^ common.c:150:16: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = strlen(message) + 1; ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ common.c:152:24: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(community, message, i); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ common.c:180:10: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, "%s/.ap-config", home_dir); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ common.c:181:17: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fd = open(message, O_CREAT | O_WRONLY | O_APPEND, 0600)) != -1) { ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/fcntl.h:598:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ common.c:182:14: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(message, "%s:%s:%d\n", inet_ntoa(ap_ip), community, ap_type); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ common.c:183:32: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write(fd, message, strlen(message)); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 9 warnings generated. --- input.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c input.c --- menu.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c menu.c --- input.o --- input.c:81:36: error: invalid application of 'sizeof' to an incomplete type 'ITEM' (aka 'struct tagITEM') ITEM **menu_item = calloc(num, sizeof(ITEM)), **ip = menu_item; ^ ~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses/menu.h:88:18: note: forward declaration of 'struct tagITEM' typedef struct tagITEM ^ 1 error generated. *** [input.o] Error code 1 bmake[2]: stopped making "all" in /var/tmp/work/net/wap-utils/work/ap-utils-1.3.2/src --- menu.o --- menu.c:29:38: error: invalid application of 'sizeof' to an incomplete type 'ITEM' (aka 'struct tagITEM') ITEM **menu_item = calloc(num+1, sizeof(ITEM)); ^ ~~~~~~ /var/tmp/work/net/wap-utils/work/.buildlink/include/ncurses/menu.h:88:18: note: forward declaration of 'struct tagITEM' typedef struct tagITEM ^ 1 error generated. *** [menu.o] Error code 1 bmake[2]: stopped making "all" in /var/tmp/work/net/wap-utils/work/ap-utils-1.3.2/src bmake[2]: 2 errors bmake[2]: stopped making "all" in /var/tmp/work/net/wap-utils/work/ap-utils-1.3.2/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /var/tmp/work/net/wap-utils/work/ap-utils-1.3.2 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /var/tmp/work/net/wap-utils/work/ap-utils-1.3.2 *** [all-recursive-am] Error code 2 bmake: stopped making "all" in /var/tmp/work/net/wap-utils/work/ap-utils-1.3.2 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/wap-utils/work/ap-utils-1.3.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/wap-utils *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/wap-utils