=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> 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. --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /opt/pkg/bin/mksh ./config.status creating config.h config.h is unchanged --- config.h --- --- all-recursive-am --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in intl --- libintl.h --- --- intl-compat.o --- --- bindtextdom.o --- --- dcgettext.o --- --- dgettext.o --- --- gettext.o --- --- finddomain.o --- --- loadmsgcat.o --- --- libintl.h --- cp ./libgnuintl.h 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 -O2 -I/opt/pkg/include intl-compat.c --- 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 -O2 -I/opt/pkg/include bindtextdom.c --- 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 -O2 -I/opt/pkg/include dcgettext.c --- 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 -O2 -I/opt/pkg/include dgettext.c --- 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 -O2 -I/opt/pkg/include gettext.c --- localealias.o --- --- 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 -O2 -I/opt/pkg/include finddomain.c --- 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 -O2 -I/opt/pkg/include loadmsgcat.c --- 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 -O2 -I/opt/pkg/include localealias.c --- 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 -O2 -I/opt/pkg/include textdomain.c --- l10nflist.o --- --- explodename.o --- --- 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 -O2 -I/opt/pkg/include l10nflist.c --- dcigettext.o --- --- 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 -O2 -I/opt/pkg/include explodename.c --- 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 -O2 -I/opt/pkg/include dcigettext.c --- dcngettext.o --- --- dngettext.o --- --- 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 -O2 -I/opt/pkg/include dcngettext.c --- 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 -O2 -I/opt/pkg/include dngettext.c --- ngettext.o --- --- plural-exp.o --- --- 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 -O2 -I/opt/pkg/include ngettext.c --- 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 -O2 -I/opt/pkg/include plural-exp.c --- 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 -O2 -I/opt/pkg/include localcharset.c --- 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 -O2 -I/opt/pkg/include 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 -O2 -I/opt/pkg/include osdep.c --- charset.alias --- /bin/sh ./config.charset 'aarch64-apple-darwin20' > t-charset.alias --- ref-add.sed --- sed -e '/^#/d' -e 's/@''PACKAGE''@/ap-utils/g' ref-add.sin > t-ref-add.sed --- ref-del.sed --- sed -e '/^#/d' -e 's/@''PACKAGE''@/ap-utils/g' ref-del.sin > t-ref-del.sed --- ref-add.sed --- mv t-ref-add.sed ref-add.sed --- charset.alias --- mv t-charset.alias charset.alias --- plural.o --- --- ref-del.sed --- mv t-ref-del.sed 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 -O2 -I/opt/pkg/include plural.c --- 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 -O2 -I/opt/pkg/include -c reset.c --- snmp.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/pkg/include -O2 -I/opt/pkg/include -c snmp.c --- reset.o --- reset.c:36:23: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = sysReset; ^ ~~~~~~~~ reset.c:38:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = &enable; ^ ~~~~~~~ reset.c:45:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 --- --- ap_search.o --- --- auth_mac.o --- --- bridge.o --- --- cmd.o --- --- common.o --- --- file.o --- --- ap-config.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c ap-config.c --- aps.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c aps.c --- ap_search.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -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 -O2 -I/opt/pkg/include -c auth_mac.c --- bridge.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c bridge.c --- cmd.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c cmd.c --- common.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c common.c --- file.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c file.c --- auth_mac.o --- auth_mac.c:71:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[0].oid = AutorizedMac; ^ ~~~~~~~~~~~~ --- aps.o --- aps.c:88:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:90:23: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ --- auth_mac.o --- auth_mac.c:98:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] varbinds[0].oid = EnableAuthMAC; ^ ~~~~~~~~~~~~~ --- cmd.o --- cmd.c:66:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = sysLoadDefaults; ^ ~~~~~~~~~~~~~~~ cmd.c:68:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = &enable; ^ ~~~~~~~ --- auth_mac.o --- auth_mac.c:228:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[0].oid = AutorizedMac; ^ ~~~~~~~~~~~~ auth_mac.c:245:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = (char *) &get; ^ ~~~~~~~~~~~~~ --- aps.o --- aps.c:122:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:126:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = &c; ^ ~~ aps.c:141:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = KnownAP; ^ ~~~~~~~ aps.c:144:23: warning: assigning to 'unsigned char *' from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = value; ^ ~~~~~ --- cmd.o --- cmd.c:129:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = sysUpload; ^ ~~~~~~~~~ cmd.c:131:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = &enable; --- aps.o --- aps.c:223:30: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] --- cmd.o --- ^ ~~~~~~~ --- aps.o --- varbinds[2].oid = bridgeRemoteBridgeBSSID; ^ ~~~~~~~~~~~~~~~~~~~~~~~ aps.c:225:25: warning: assigning to 'unsigned char *' from 'char [6]' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[0].oid = operESSIDLength; ^ ~~~~~~~~~~~~~~~ aps.c:230:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[1].oid = operESSID; ^ ~~~~~~~~~ aps.c:235:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:276:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = (char *) &bridge_mode; ^ ~~~~~~~~~~~~~~~~~~~~~ --- ap_search.o --- ap_search.c:58:35: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] sprintf(message, _("Invalid sendto: %s. Press any key."), ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:712: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 with different sign [-Wpointer-sign] sprintf(message, "%5s %15s", ap_types[ap_type], inet_ntoa(from.sin_addr)); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:34: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, i+1, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ --- auth_mac.o --- auth_mac.c:324:21: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] --- bridge.o --- bridge.c:131:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = IPFilter; ^ ~~~~~~~~ bridge.c:132:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = PrimaryPort; ^ ~~~~~~~~~~~ bridge.c:133:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].oid = operDHCP; ^ ~~~~~~~~ bridge.c:134:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[3].oid = operEthernetAddress; ^ ~~~~~~~~~~~~~~~~~~~ --- ap_search.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] community = comm; ^ ~~~~ --- auth_mac.o --- varbinds[1].oid = MacAllow; ^ ~~~~~~~~ auth_mac.c:348:20: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] varbinds[0].oid = Mac; ^ ~~~ --- bridge.o --- bridge.c:135:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[4].oid = operIPAddress; ^ ~~~~~~~~~~~~~ bridge.c:136:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[5].oid = operIPMask; ^ ~~~~~~~~~~ bridge.c:137:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[6].oid = operGateway; ^ ~~~~~~~~~~~ bridge.c:138:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[7].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ --- auth_mac.o --- auth_mac.c:379:20: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] --- bridge.o --- bridge.c:139:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[8].oid = sysTrapSwitch; ^ ~~~~~~~~~~~~~ bridge.c:140:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] sprintf(message, MAC, ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ --- auth_mac.o --- varbinds[0].value = Mac; ^ ~~~ auth_mac.c:484:19: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = MacRowStatus; ^ ~~~~~~~~~~~~ auth_mac.c:486:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] varbinds[0].value = Mac; --- bridge.o --- bridge.c:155:31: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 0, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ --- auth_mac.o --- ^ ~~~ auth_mac.c:513:19: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = MacRowStatus; ^ ~~~~~~~~~~~~ auth_mac.c:515:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] varbinds[1].value = auth_enable; ^ ~~~~~~~~~~~ --- bridge.o --- bridge.c:166:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(message, PR_PORT, ports[primary_port - 1]); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:28: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 4, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' --- auth_mac.o --- auth_mac.c:523:19: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].oid = MacAllow; ^ ~~~~~~~~ auth_mac.c:525:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[0].oid = MacRowStatus; ^ ~~~~~~~~~~~~ auth_mac.c:546:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = &create; ^ ~~~~~~~ --- bridge.o --- #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, _("Attached Station MAC: %02X%02X%02X%02X%02X%02X"), ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) --- auth_mac.o --- auth_mac.c:549:19: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[2].oid = MacAllow; ^ ~~~~~~~~ auth_mac.c:556:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].value = &allow; ^ ~~~~~~ --- bridge.o --- ^~~ bridge.c:183:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(message, REMOTE_MAC, ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:28: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 7, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, "[I] IP: %s", inet_ntoa(ip)); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:31: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 1, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, _("[N] Netmask: %s"), inet_ntoa(mask)); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:32: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 1, 24, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, _("[G] Gateway %s"), inet_ntoa(gw)); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:31: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 2, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, IP_FILTER, (filter == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:31: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 3, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, DHCP, (dhcp == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:31: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 5, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, OPER, bridge_modes[bridge_mode - 1]); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:31: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 6, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, TRAPS, (traps == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:31: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 8, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-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 with different sign [-Wpointer-sign] if (!(inet_aton(message, &ip))) { ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] if (!(inet_aton(message, &mask))) { ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-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 with different sign [-Wpointer-sign] if (!(inet_aton(message, &gw))) { ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] sprintf(message, IP_FILTER, (filter == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:32: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 3, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, TRAPS, (traps == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:32: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 8, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, PR_PORT, ports[primary_port - 1]); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:29: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 4, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, DHCP, (dhcp == 1) ? ON : OFF); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:32: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 5, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, OPER, bridge_modes[bridge_mode - 1]); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:32: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 6, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] sprintf(message, REMOTE_MAC, ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:29: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 7, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-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 with different sign [-Wpointer-sign] sprintf(message, REMOTE_MAC, ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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:28: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] mvwaddstr(main_sub, 7, 0, message); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:1065:77: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove(win,y,x) == ERR ? ERR : waddnstr(win,str,-1)) ^~~ --- common.o --- common.c:123:12: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] } while ((i = inet_addr(message)) == -1); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arpa/inet.h:75:34: note: passing argument to parameter here in_addr_t inet_addr(const char *); ^ --- bridge.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:739: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 with different sign [-Wpointer-sign] varbinds[i].oid = IPFilter; ^ ~~~~~~~~ bridge.c:325:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[i].oid = PrimaryPort; --- common.o --- common.c:125:18: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] i = strlen(message) + 1; ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] strncpy(community, message, i); --- bridge.o --- ^ ~~~~~~~~~~~ --- common.o --- ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] sprintf(message, "%s/.ap-config", home_dir); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if ((fd = open(message, O_CREAT | O_WRONLY | O_APPEND, 0600)) != -1) { ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/fcntl.h:554: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 with different sign [-Wpointer-sign] sprintf(message, "%s:%s:%d\n", inet_ntoa(ap_ip), community, ap_type); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] write(fd, message, strlen(message)); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ --- bridge.o --- bridge.c:333:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[i].oid = operDHCP; ^ ~~~~~~~~ bridge.c:341:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[i].oid = operIPAddress; ^ ~~~~~~~~~~~~~ bridge.c:349:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[i].oid = operIPMask; ^ ~~~~~~~~~~ bridge.c:358:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[i].oid = operGateway; ^ ~~~~~~~~~~~ bridge.c:367:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[i].oid = sysTrapSwitch; ^ ~~~~~~~~~~~~~ bridge.c:381:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:383:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] varbinds[i].oid = bridgeRemoteBridgeBSSID; ^ ~~~~~~~~~~~~~~~~~~~~~~~ --- cmd.o --- 4 warnings generated. --- input.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c input.c --- menu.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c menu.c --- ap_search.o --- 9 warnings generated. --- nwn_advanced.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c nwn_advanced.c --- bridge.o --- 68 warnings generated. --- nwn_latest.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c nwn_latest.c --- common.o --- 9 warnings generated. --- aps.o --- 14 warnings generated. --- oui.o --- --- radio.o --- --- oui.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c oui.c --- radio.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c radio.c --- auth_mac.o --- 36 warnings generated. --- scr.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c scr.c --- nwn_advanced.o --- nwn_advanced.c:48:21: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = smtStationDBTimeout; ^ ~~~~~~~~~~~~~~~~~~~ nwn_advanced.c:50:21: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = smtACKWindow; ^ ~~~~~~~~~~~~ nwn_advanced.c:106:19: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = smtStationDBTimeout; ^ ~~~~~~~~~~~~~~~~~~~ nwn_advanced.c:108:21: warning: assigning to 'unsigned char *' from 'char [80]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = message; ^ ~~~~~~~ nwn_advanced.c:114:19: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = smtACKWindow; ^ ~~~~~~~~~~~~ nwn_advanced.c:116:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = &ackwindow; ^ ~~~~~~~~~~ --- set_community.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c set_community.c --- stat.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c stat.c --- nwn_latest.o --- nwn_latest.c:63:20: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = oid_dot11DisassociateReason; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:67:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = oid_dot11DisassociateReason; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:69:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = oid_dot11DisassociateStation; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:71:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].oid = oid_dot11DeauthenticateReason; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:73:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[3].oid = oid_dot11DeauthenticateStation; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:75:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[4].oid = oid_dot11AuthenticateFailStatus; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:77:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[5].oid = oid_dot11AuthenticateFailStation; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:79:21: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[6].oid = oid_secLastError; ^ ~~~~~~~~~~~~~~~~ nwn_latest.c:81:21: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[7].oid = oid_secLastErrorAddress; ^ ~~~~~~~~~~~~~~~~~~~~~~~ --- nwn_advanced.o --- 6 warnings generated. --- stations.o --- --- radio.o --- radio.c:83:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = TestModeRadioConfiguration; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ radio.c:85:23: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = TestModeRadioConfiguration; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ radio.c:88:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = AntennaOID; ^ ~~~~~~~~~~ radio.c:89:23: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].value = TestModeRadioConfiguration; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ radio.c:153:17: warning: passing 'unsigned char [2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = strtol(a, NULL, 16); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here long strtol(const char *__str, char **__endptr, int __base); ^ radio.c:216:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = TestModeRadioConfiguration; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ radio.c:237:23: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = AntennaOID; ^ ~~~~~~~~~~ radio.c:239:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &antenna_hw; ^ ~~~~~~~~~~~~~~~~~~~~ --- sysinfo.o --- --- stations.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c stations.c --- sysinfo.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c sysinfo.c --- stat.o --- stat.c:90:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = EthRx; ^ ~~~~~ stat.c:92:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = EthTx; ^ ~~~~~ stat.c:96:20: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = EthTx; ^ ~~~~~ stat.c:99:20: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].value = EthTx; ^ ~~~~~ stat.c:269:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = Wireless; ^ ~~~~~~~~ stat.c:273:20: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = Wireless; ^ ~~~~~~~~ --- radio.o --- 8 warnings generated. --- set_community.o --- set_community.c:102:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = AuthorizedUserPass[ap_type]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ set_community.c:104:21: warning: assigning to 'unsigned char *' from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = user; ^ ~~~~ set_community.c:110:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = AuthorizedAdminPass[ap_type]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ set_community.c:112:21: warning: assigning to 'unsigned char *' from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = admin; ^ ~~~~~ set_community.c:118:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = AuthorizedManufactPass; ^ ~~~~~~~~~~~~~~~~~~~~~~ set_community.c:120:21: warning: assigning to 'unsigned char *' from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = manufact; ^ ~~~~~~~~ --- stat.o --- stat.c:445:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = oid_dot11TransmittedFragmentCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:447:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = oid_dot11MulticastTransmittedFrameCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:450:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].oid = oid_dot11FailedCount; ^ ~~~~~~~~~~~~~~~~~~~~ stat.c:452:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[3].oid = oid_dot11RetryCount; ^ ~~~~~~~~~~~~~~~~~~~ stat.c:454:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[4].oid = oid_dot11MultipleRetryCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:456:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[5].oid = oid_dot11FrameDuplicateCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- test.o --- --- stat.o --- stat.c:458:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[6].oid = oid_dot11RTSSuccessCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:460:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[7].oid = oid_dot11RTSFailureCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:462:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[8].oid = oid_dot11ACKFailureCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:464:18: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[9].oid = oid_dot11ReceivedFragmentCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:466:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[10].oid = oid_dot11MulticastReceivedFrameCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:469:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[11].oid = oid_dot11FCSErrorCount; ^ ~~~~~~~~~~~~~~~~~~~~~~ stat.c:471:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[12].oid = oid_dot11TransmittedFrameCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:473:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[13].oid = oid_dot11WEPUndecryptableCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:475:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[14].oid = oid_dot11WEPICVErrorCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:477:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[15].oid = oid_dot11WEPExcludedCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:482:24: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = oid_dot11TransmittedFragmentCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- nwn_latest.o --- 9 warnings generated. --- test.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c test.c --- wep.o --- --- stations.o --- stations.c:73:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = StasNum; ^ ~~~~~~~ stations.c:75:23: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = StasNum; ^ ~~~~~~~ stations.c:96:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = StasMac; ^ ~~~~~~~ stations.c:100:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = (char *) &get; ^ ~~~~~~~~~~~~~ --- set_community.o --- 6 warnings generated. --- wep.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c wep.c --- wlan.o --- --- ap-mrtg.o --- --- sysinfo.o --- sysinfo.c:74:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = sysDescr; ^ ~~~~~~~~ sysinfo.c:76:23: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = sysDescr; ^ ~~~~~~~~ sysinfo.c:80:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = sysDeviceInfo; ^ ~~~~~~~~~~~~~ sysinfo.c:82:23: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].value = sysDescr; ^ ~~~~~~~~ sysinfo.c:149:23: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] oui2manufacturer(HardConf->MacAddress)); ^~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ../lib/ap-utils.h:248:38: note: passing argument to parameter here extern char * oui2manufacturer(char *); ^ sysinfo.c:168:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = oid_dot11CurrentRegDomain; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:170:23: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = oid_dot11CurrentRegDomain; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c ap-mrtg.c --- wlan.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c wlan.c --- sysinfo.o --- sysinfo.c:235:20: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = oid_mac; ^ ~~~~~~~ sysinfo.c:239:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = oid_mac; ^ ~~~~~~~ sysinfo.c:241:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = oid_manufacturerID; ^ ~~~~~~~~~~~~~~~~~~ sysinfo.c:243:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].oid = oid_productID; ^ ~~~~~~~~~~~~~ sysinfo.c:245:21: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[3].oid = oid_dot11manufacturerOUI; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:247:21: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[4].oid = oid_dot11manufacturerName; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:249:21: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[5].oid = oid_dot11manufacturerProductName; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:251:21: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[6].oid = oid_dot11manufacturerProductVersion; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:253:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[7].oid = oid_dot11PHYType; ^ ~~~~~~~~~~~~~~~~ sysinfo.c:255:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[8].oid = oid_dot11TempType; ^ ~~~~~~~~~~~~~~~~~ sysinfo.c:257:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[9].oid = oid_TxPowerLevel1; ^ ~~~~~~~~~~~~~~~~~ sysinfo.c:290:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] oui2manufacturer(varbinds[3].value)); ^~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ../lib/ap-utils.h:248:38: note: passing argument to parameter here extern char * oui2manufacturer(char *); ^ sysinfo.c:293:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(message, _("Product Name:")); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ sysinfo.c:293:22: note: treat the string as an argument to avoid this sprintf(message, _("Product Name:")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ sysinfo.c:300:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(message, _("Product ID:")); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ sysinfo.c:300:22: note: treat the string as an argument to avoid this sprintf(message, _("Product ID:")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ sysinfo.c:306:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(message, _("Product Version:")); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ sysinfo.c:306:22: note: treat the string as an argument to avoid this sprintf(message, _("Product Version:")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ sysinfo.c:336:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = oid_dot11PrivacyOptionImplemented; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:338:23: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = oid_mac; ^ ~~~~~~~ sysinfo.c:341:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = oid_dot11DiversitySupport; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:343:23: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].value = oid_mac; ^ ~~~~~~~ sysinfo.c:346:21: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].oid = oid_sysDescr; ^ ~~~~~~~~~~~~ sysinfo.c:348:23: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].value = oid_mac; ^ ~~~~~~~ sysinfo.c:351:21: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[3].oid = oid_sysUptime; ^ ~~~~~~~~~~~~~ sysinfo.c:353:23: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[3].value = oid_mac; ^ ~~~~~~~ sysinfo.c:398:21: warning: assigning to 'unsigned char *' from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = oid_ip; ^ ~~~~~~ sysinfo.c:400:23: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = oid_mac; ^ ~~~~~~~ --- stations.o --- 4 warnings generated. --- ap-trapd.o --- --- test.o --- test.c:154:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = TestModeOnOff; ^ ~~~~~~~~~~~~~ test.c:156:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = &teston; ^ ~~~~~~~ test.c:174:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = TestModeOnOff; ^ ~~~~~~~~~~~~~ test.c:176:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = &teston; ^ ~~~~~~~ --- ap-trapd.o --- clang -DLOCALEDIR=\"/opt/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c ap-trapd.c --- test.o --- test.c:179:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = TestModeCommandStruct; ^ ~~~~~~~~~~~~~~~~~~~~~ test.c:182:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].value = (char *) &testmode; ^ ~~~~~~~~~~~~~~~~~~ test.c:189:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = TestModeStatistics; ^ ~~~~~~~~~~~~~~~~~~ test.c:191:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = TestModeStatistics; ^ ~~~~~~~~~~~~~~~~~~ test.c:217:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = TestModeOnOff; ^ ~~~~~~~~~~~~~ test.c:219:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = &teston; ^ ~~~~~~~ --- wep.o --- wep.c:68:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = privacyWEPEnable; ^ ~~~~~~~~~~~~~~~~ wep.c:72:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = privacyDefaultWEPKeyID; ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:148:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = privacyWEPEnable; ^ ~~~~~~~~~~~~~~~~ wep.c:151:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &wep_hw; ^ ~~~~~~~~~~~~~~~~ wep.c:157:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = privacyDefaultWEPKeyID; ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:160:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &wepid_hw; ^ ~~~~~~~~~~~~~~~~~~ wep.c:166:23: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = defaultWEPKey[c]; ^ ~~~~~~~~~~~~~~~~ wep.c:169:25: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = wepkey[c]; ^ ~~~~~~~~~ wep.c:219:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = privacyWEPEnable; ^ ~~~~~~~~~~~~~~~~ wep.c:223:21: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = oid_smtPublicKeyEnable; ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:227:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].oid = oid_dot11ExcludeUnencrypted; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ wep.c:231:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[3].oid = privacyDefaultWEPKeyID; ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:340:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = privacyWEPEnable; ^ ~~~~~~~~~~~~~~~~ wep.c:343:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &wep; ^ ~~~~~~~~~~~~~ wep.c:357:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = oid_dot11ExcludeUnencrypted; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ wep.c:360:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = &exclude; ^ ~~~~~~~~ wep.c:365:19: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = oid_smtPublicKeyEnable; ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:368:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = &publickey; ^ ~~~~~~~~~~ wep.c:383:23: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = privacyDefaultWEPKeyID; ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:386:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &wepid_hw; ^ ~~~~~~~~~~~~~~~~~~ wep.c:400:37: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = defaultWEPKey[c]; ^ ~~~~~~~~~~~~~~~~ wep.c:403:39: warning: assigning to 'unsigned char *' from 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = wepkey[c]; ^ ~~~~~~~~~ --- wlan.o --- wlan.c:141:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = operChannelID; ^ ~~~~~~~~~~~~~ wlan.c:142:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = operESSID; ^ ~~~~~~~~~ wlan.c:143:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].oid = operSSIDBroadcasting; ^ ~~~~~~~~~~~~~~~~~~~~ wlan.c:144:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[3].oid = operBasicRates; ^ ~~~~~~~~~~~~~~ wlan.c:145:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[4].oid = operAutoRateFallBack; ^ ~~~~~~~~~~~~~~~~~~~~ wlan.c:146:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[5].oid = operRTSThreshold; ^ ~~~~~~~~~~~~~~~~ wlan.c:147:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[6].oid = operFragmentationThreshold; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:148:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[7].oid = operPreambleType; ^ ~~~~~~~~~~~~~~~~ wlan.c:149:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[8].oid = operAuthenticationType; ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:150:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[9].oid = operAccessPointName; ^ ~~~~~~~~~~~~~~~~~~~ wlan.c:151:22: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[10].oid = sysDeviceInfo; ^ ~~~~~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:45:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("\nUsage:\n")); ^~~~~~~~~~~~~~~ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:45:12: note: treat the string as an argument to avoid this printf(_("\nUsage:\n")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:46:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_ ^ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:46:12: note: treat the string as an argument to avoid this printf(_ ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:48:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_ ^ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:48:12: note: treat the string as an argument to avoid this printf(_ ^ --- wlan.o --- wlan.c:323:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operChannelID; ^ ~~~~~~~~~~~~~ --- ap-mrtg.o --- "%s", --- wlan.o --- wlan.c:325:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &channel; ^ ~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ --- wlan.o --- wlan.c:338:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operBasicRates; ^ ~~~~~~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:50:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("-i ip - AP ip address\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- wlan.o --- wlan.c:340:21: warning: assigning to 'unsigned char *' from 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ../lib/ap-utils.h:28:19: note: expanded from macro '_' --- wlan.o --- varbinds[i].value = basic_rates; ^ ~~~~~~~~~~~ --- ap-mrtg.o --- #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ --- wlan.o --- wlan.c:346:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ap-mrtg.c:50:12: note: treat the string as an argument to avoid this --- wlan.o --- varbinds[i].oid = operSSIDBroadcasting; ^ ~~~~~~~~~~~~~~~~~~~~ wlan.c:348:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &SSIDBroadcasting; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:354:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operAuthenticationType; ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:356:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = &AuthenticationType; ^ ~~~~~~~~~~~~~~~~~~~ wlan.c:362:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operPreambleType; ^ ~~~~~~~~~~~~~~~~ wlan.c:364:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = &PreambleType; ^ ~~~~~~~~~~~~~ --- ap-mrtg.o --- printf(_("-i ip - AP ip address\n")); ^ "%s", --- wlan.o --- wlan.c:370:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operAutoRateFallBack; ^ ~~~~~~~~~~~~~~~~~~~~ wlan.c:372:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = &AutoRateFallBack; ^ ~~~~~~~~~~~~~~~~~ wlan.c:379:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ../lib/ap-utils.h:28:19: note: expanded from macro '_' --- wlan.o --- varbinds[i].oid = operAccessPointName; ^ ~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- #define _(String) gettext (String) ^ --- wlan.o --- wlan.c:381:21: warning: assigning to 'unsigned char *' from 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ap-mrtg.c:51:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("-c community - SNMP community string\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- wlan.o --- varbinds[i].value = ap_name; ^ ~~~~~~~ --- ap-mrtg.o --- ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:51:12: note: treat the string as an argument to avoid this printf(_("-c community - SNMP community string\n")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' --- wlan.o --- wlan.c:387:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- #define _(String) gettext (String) ^ --- wlan.o --- varbinds[i].oid = operFragmentationThreshold; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:52:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_ ^ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ --- wlan.o --- wlan.c:390:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ap-mrtg.c:52:12: note: treat the string as an argument to avoid this printf(_ ^ "%s", --- wlan.o --- varbinds[i].value = (char *) &FragmentationThreshold; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:54:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- wlan.o --- wlan.c:396:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- printf(_ ^ ../lib/ap-utils.h:28:19: note: expanded from macro '_' --- wlan.o --- varbinds[i].oid = operRTSThreshold; ^ ~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:54:12: note: treat the string as an argument to avoid this printf(_ ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:56:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_ ^ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:56:12: note: treat the string as an argument to avoid this --- wlan.o --- wlan.c:399:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &RTSThreshold; ^ ~~~~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- printf(_ ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:58:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("-r - reset AP when getting LinkQuality stats\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:28:19: note: expanded from macro '_' --- wlan.o --- wlan.c:406:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operESSIDLength; ^ ~~~~~~~~~~~~~~~ --- ap-mrtg.o --- #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:58:12: note: treat the string as an argument to avoid this --- wlan.o --- wlan.c:408:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = &m_essid; ^ ~~~~~~~~ --- ap-mrtg.o --- printf(_("-r - reset AP when getting LinkQuality stats\n")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' --- wlan.o --- wlan.c:412:19: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operESSID; ^ ~~~~~~~~~ --- ap-mrtg.o --- #define _(String) gettext (String) --- wlan.o --- wlan.c:414:21: warning: assigning to 'unsigned char *' from 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = domain; --- ap-mrtg.o --- ^ ap-mrtg.c:59:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("-h - print this help screen\n\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:28:19: note: expanded from macro '_' --- wlan.o --- ^ ~~~~~~ --- ap-mrtg.o --- #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:59:12: note: treat the string as an argument to avoid this printf(_("-h - print this help screen\n\n")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ --- wlan.o --- wlan.c:509:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = operChannelID; ^ ~~~~~~~~~~~~~ wlan.c:511:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = operESSID; ^ ~~~~~~~~~ wlan.c:513:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[2].oid = operRTSThreshold; ^ ~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:142:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("Invalid IP-address\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~ --- wlan.o --- wlan.c:515:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[3].oid = operFragmentationThreshold; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:517:21: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[4].oid = operBasicRates; ^ ~~~~~~~~~~~~~~ --- ap-mrtg.o --- ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:142:10: note: treat the string as an argument to avoid this printf(_("Invalid IP-address\n")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ --- wlan.o --- wlan.c:519:21: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[5].oid = OpenSystem; ^ ~~~~~~~~~~ wlan.c:521:21: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ap-mrtg.c:190:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = EthRx; ^ ~~~~~ ap-mrtg.c:192:20: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = EthRx; ^ ~~~~~ ap-mrtg.c:195:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].oid = EthTx; ^ ~~~~~ --- wlan.o --- varbinds[6].oid = SharedKey; ^ ~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:197:20: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[1].value = EthTx; ^ ~~~~~ --- wlan.o --- wlan.c:523:21: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[7].oid = operAccessPointName; ^ ~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:202:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:202:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:214:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ --- wlan.o --- wlan.c:579:18: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = oid_dot11SupportedAntenna[i]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:582:21: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[6].oid = sysTrapSwitch; ^ ~~~~~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:214:13: note: treat the string as an argument to avoid this printf(ERR_STR); --- wlan.o --- wlan.c:584:21: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[7].oid = operAccessPointContact; ^ ~~~~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- ^ "%s", ap-mrtg.c:226:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); --- wlan.o --- wlan.c:586:21: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ^~~~~~~ ap-mrtg.c:226:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", --- wlan.o --- varbinds[8].oid = operAccessPointLocation; ^ ~~~~~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:237:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = Wireless; ^ ~~~~~~~~ ap-mrtg.c:239:20: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = Wireless; ^ ~~~~~~~~ ap-mrtg.c:244:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:244:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:255:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:255:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:268:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = StasNum; ^ ~~~~~~~ ap-mrtg.c:270:20: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].value = StasNum; ^ ~~~~~~~ ap-mrtg.c:275:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:275:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:284:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ --- wlan.o --- wlan.c:793:19: warning: assigning to 'unsigned char *' from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = ChannelPref; ^ ~~~~~~~~~~~ wlan.c:795:21: warning: assigning to 'unsigned char *' from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ap-mrtg.c:290:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- wlan.o --- varbinds[i].value = channel_pref; ^ ~~~~~~~~~~~~ --- ap-mrtg.o --- printf(ERR_STR); ^~~~~~~ --- wlan.o --- wlan.c:799:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operChannelID; ^ ~~~~~~~~~~~~~ wlan.c:801:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &channel; ^ ~~~~~~~~~~~~~~~~~ wlan.c:808:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operBasicRates; ^ ~~~~~~~~~~~~~~ wlan.c:810:21: warning: assigning to 'unsigned char *' from 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = basic_rates; ^ ~~~~~~~~~~~ wlan.c:826:19: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = OpenSystem; ^ ~~~~~~~~~~ wlan.c:828:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ap-mrtg.c:290:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", --- wlan.o --- varbinds[i].value = (char *) &m_auth; ^ ~~~~~~~~~~~~~~~~ wlan.c:832:19: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = SharedKey; ^ ~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:295:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ --- wlan.o --- wlan.c:834:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &m_basic_rates; ^ ~~~~~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:295:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:301:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- wlan.o --- wlan.c:848:19: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operAccessPointName; ^ ~~~~~~~~~~~~~~~~~~~ wlan.c:850:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = ap_name; ^ ~~~~~~~ --- ap-mrtg.o --- printf(ERR_STR); ^~~~~~~ ap-mrtg.c:301:14: note: treat the string as an argument to avoid this printf(ERR_STR); --- wlan.o --- wlan.c:858:19: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operAccessPointLocation; ^ ~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:860:21: warning: assigning to 'unsigned char *' from 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = ap_location; ^ ~~~~~~~~~~~ --- ap-mrtg.o --- ^ "%s", ap-mrtg.c:307:18: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = KnownAP; ^ ~~~~~~~ --- wlan.o --- wlan.c:875:19: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operAccessPointContact; ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:877:21: warning: assigning to 'unsigned char *' from 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] --- ap-mrtg.o --- ap-mrtg.c:313:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- wlan.o --- varbinds[i].value = ap_contact; ^ ~~~~~~~~~~ --- ap-mrtg.o --- printf(ERR_STR); ^~~~~~~ ap-mrtg.c:313:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", --- wlan.o --- wlan.c:883:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operFragmentationThreshold; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ap-mrtg.o --- ap-mrtg.c:338:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:338:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:346:21: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[0].oid = operAccessPointName; ^ ~~~~~~~~~~~~~~~~~~~ --- wlan.o --- wlan.c:886:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &FragmentationThreshold; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:892:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operRTSThreshold; ^ ~~~~~~~~~~~~~~~~ wlan.c:895:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = (char *) &RTSThreshold; ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:901:19: warning: assigning to 'unsigned char *' from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = sysTrapSwitch; ^ ~~~~~~~~~~~~~ wlan.c:903:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = &traps; ^ ~~~~~~ wlan.c:916:23: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[c].oid = oid_dot11SupportedAntenna[i]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:919:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[c].value = &antenna[i]; ^ ~~~~~~~~~~~ wlan.c:932:23: warning: assigning to 'unsigned char *' from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[c].oid = oid_dot11SupportedAntenna[i]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:935:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[c].value = &antenna[i]; ^ ~~~~~~~~~~~ wlan.c:948:19: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].oid = operESSID; ^ ~~~~~~~~~ --- test.o --- 10 warnings generated. --- wlan.o --- wlan.c:950:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] varbinds[i].value = domain; ^ ~~~~~~ --- ap-trapd.o --- ap-trapd.c:158:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, _("Unable to fork. Exiting.")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-trapd.c:158:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, _("Unable to fork. Exiting.")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-trapd.c:162:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, _("Can't create socket. Exiting.")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-trapd.c:162:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, _("Can't create socket. Exiting.")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-trapd.c:168:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, _("Can't bind socket. Exiting.")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-trapd.c:168:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, _("Can't bind socket. Exiting.")); ^ "%s", ../lib/ap-utils.h:28:19: note: expanded from macro '_' #define _(String) gettext (String) ^ --- stat.o --- 23 warnings generated. --- ap-mrtg.o --- 33 warnings generated. --- sysinfo.o --- 32 warnings generated. --- ap-mrtg --- --- wep.o --- 22 warnings generated. --- ap-mrtg --- clang -O2 -I/opt/pkg/include -L/opt/pkg/lib -L/usr/lib -o ap-mrtg ap-mrtg.o ../lib/libap.a ../intl/libintl.a -liconv --- ap-trapd.o --- 3 warnings generated. --- ap-trapd --- clang -O2 -I/opt/pkg/include -L/opt/pkg/lib -L/usr/lib -o ap-trapd ap-trapd.o ../intl/libintl.a -liconv --- wlan.o --- 73 warnings generated. --- ap-config --- clang -O2 -I/opt/pkg/include -L/opt/pkg/lib -L/usr/lib -o ap-config ap-config.o aps.o ap_search.o auth_mac.o bridge.o cmd.o common.o file.o input.o menu.o nwn_advanced.o nwn_latest.o oui.o radio.o scr.o set_community.o stat.o stations.o sysinfo.o test.o wep.o wlan.o ../lib/libap.a -lmenu -lncurses ../intl/libintl.a -liconv Undefined symbols for architecture arm64: "_current_item", referenced from: _menu_choose in input.o _uni_menu in menu.o "_free_item", referenced from: _menu_choose in input.o _uni_menu in menu.o "_free_menu", referenced from: _menu_choose in input.o _uni_menu in menu.o "_item_index", referenced from: _menu_choose in input.o _uni_menu in menu.o "_menu_driver", referenced from: _menu_choose in input.o _uni_menu in menu.o "_new_item", referenced from: _menu_choose in input.o _uni_menu in menu.o "_new_menu", referenced from: _menu_choose in input.o _uni_menu in menu.o "_post_menu", referenced from: _menu_choose in input.o _uni_menu in menu.o "_set_menu_opts", referenced from: _menu_choose in input.o _uni_menu in menu.o "_set_menu_sub", referenced from: _main in ap-config.o _menu_choose in input.o "_set_menu_win", referenced from: _main in ap-config.o _menu_choose in input.o "_unpost_menu", referenced from: _menu_choose in input.o _uni_menu in menu.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [ap-config] Error code 1 bmake[2]: stopped in /opt/work/net/wap-utils/work/ap-utils-1.3.2/src 1 error bmake[2]: stopped in /opt/work/net/wap-utils/work/ap-utils-1.3.2/src *** [all-recursive] Error code 1 bmake[1]: stopped in /opt/work/net/wap-utils/work/ap-utils-1.3.2 1 error bmake[1]: stopped in /opt/work/net/wap-utils/work/ap-utils-1.3.2 *** [all-recursive-am] Error code 2 bmake: stopped in /opt/work/net/wap-utils/work/ap-utils-1.3.2 1 error bmake: stopped in /opt/work/net/wap-utils/work/ap-utils-1.3.2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/wap-utils *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/wap-utils