=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for kismet-2008.05.01nb48 Generating dependencies... c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c util.cc -o util.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c cygwin_utils.cc -o cygwin_utils.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c ringbuf.cc -o ringbuf.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c configfile.cc -o configfile.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c speech.cc -o speech.o In file included from util.cc:21:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packet.h:45:0, from configfile.h:35, from configfile.cc:28: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from configfile.cc:28: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from configfile.cc:29:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packet.h:45:0, from tracktypes.h:27, from speech.h:30, from speech.cc:23: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tracktypes.h:27:0, from speech.h:30, from speech.cc:23: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ configfile.cc: In static member function 'static std::__cxx11::string ConfigFile::ExpandLogPath(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, int, int)': configfile.cc:122:6: warning: variable 'found_type' set but not used [-Wunused-but-set-variable] int found_type = 0, found_num = 0; ^~~~~~~~~~ configfile.cc:122:22: warning: variable 'found_num' set but not used [-Wunused-but-set-variable] int found_type = 0, found_num = 0; ^~~~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from speech.h:30:0, from speech.cc:23: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c ifcontrol.cc -o ifcontrol.o tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c iwcontrol.cc -o iwcontrol.o In file included from ifcontrol.h:53:0, from ifcontrol.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c madwifing_control.cc -o madwifing_control.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c packet.cc -o packet.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c pcapsource.cc -o pcapsource.o pcapsource.cc:800:0: warning: "IEEE80211_IS_CHAN_FHSS" redefined #define IEEE80211_IS_CHAN_FHSS(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:161:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_FHSS(_c) _IEEE80211_IS_CHAN(_c, FHSS) pcapsource.cc:802:0: warning: "IEEE80211_IS_CHAN_A" redefined #define IEEE80211_IS_CHAN_A(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:162:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_A(_c) _IEEE80211_IS_CHAN(_c, A) pcapsource.cc:804:0: warning: "IEEE80211_IS_CHAN_B" redefined #define IEEE80211_IS_CHAN_B(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:163:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_B(_c) _IEEE80211_IS_CHAN(_c, B) pcapsource.cc:806:0: warning: "IEEE80211_IS_CHAN_PUREG" redefined #define IEEE80211_IS_CHAN_PUREG(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:164:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_PUREG(_c) _IEEE80211_IS_CHAN(_c, PUREG) pcapsource.cc:808:0: warning: "IEEE80211_IS_CHAN_G" redefined #define IEEE80211_IS_CHAN_G(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:165:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_G(_c) _IEEE80211_IS_CHAN(_c, G) pcapsource.cc:810:0: warning: "IEEE80211_IS_CHAN_T" redefined #define IEEE80211_IS_CHAN_T(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:167:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_T(_c) _IEEE80211_IS_CHAN(_c, T) In file included from iwcontrol.h:45:0, from iwcontrol.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c prism2source.cc -o prism2source.o In file included from packet.h:45:0, from packet.cc:21: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packet.cc:21:0: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ packet.cc: In function 'void GetPacketInfo(kis_packet*, packet_info*, macmap*, unsigned char*)': packet.cc:366:13: warning: variable 'found_channel_tag' set but not used [-Wunused-but-set-variable] int found_channel_tag = 0; ^~~~~~~~~~~~~~~~~ In file included from packet.h:45:0, from pcapsource.h:30, from pcapsource.cc:130: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from pcapsource.h:30:0, from pcapsource.cc:130: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from pcapsource.h:31, from pcapsource.cc:130: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from ifcontrol.h:53:0, from pcapsource.h:32, from pcapsource.cc:130: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from prism2source.h:23:0, from prism2source.cc:24: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c wtapfilesource.cc -o wtapfilesource.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c wsp100source.cc -o wsp100source.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c dronesource.cc -o dronesource.o pcapsource.cc: In member function 'int PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)': pcapsource.cc:835:7: warning: 'u2.PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::::u16' may be used uninitialized in this function [-Wmaybe-uninitialized] } u2; ^~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c vihasource.cc -o vihasource.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c airpcapsource.cc -o airpcapsource.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c packetsourcetracker.cc -o packetsourcetracker.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c kis_packsources.cc -o kis_packsources.o In file included from dronesource.cc:21:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packet.h:45:0, from packetsource.h:27, from dronesource.h:33, from dronesource.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetsource.h:27:0, from dronesource.h:33, from dronesource.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from dronesource.h:33, from dronesource.cc:22: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from dronesource.h:34:0, from dronesource.cc:22: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ In file included from packetsourcetracker.cc:21:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packetsourcetracker.h:32:0, from packetsourcetracker.cc:22: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from packet.h:45:0, from packetsource.h:27, from packetsourcetracker.h:34, from packetsourcetracker.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetsource.h:27:0, from packetsourcetracker.h:34, from packetsourcetracker.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c wtapdump.cc -o wtapdump.o In file included from packet.h:45:0, from packetsource.h:27, from kis_packsources.h:24, from kis_packsources.cc:21: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetsource.h:27:0, from kis_packsources.h:24, from kis_packsources.cc:21: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from kis_packsources.h:24, from kis_packsources.cc:21: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from prism2source.h:23:0, from kis_packsources.h:25, from kis_packsources.cc:21: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from dronesource.h:34:0, from kis_packsources.h:30, from kis_packsources.cc:21: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c wtaplocaldump.cc -o wtaplocaldump.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c gpsdump.cc -o gpsdump.o In file included from packet.h:45:0, from wtapdump.h:26, from wtapdump.cc:19: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from wtapdump.h:26:0, from wtapdump.cc:19: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c airsnortdump.cc -o airsnortdump.o In file included from packet.h:45:0, from wtaplocaldump.h:29, from wtaplocaldump.cc:23: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from wtaplocaldump.h:29:0, from wtaplocaldump.cc:23: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ wtaplocaldump.cc: In member function 'virtual int WtapDumpFile::OpenDump(const char*)': wtaplocaldump.cc:27:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] int WtapDumpFile::OpenDump(const char *file) { ^~~~~~~~~~~~ wtaplocaldump.cc:35:17: note: 'snprintf' output 29 or more bytes (assuming 1052) into a destination of size 1024 snprintf(errstr, 1024, "Unable to open dump file %s (%s)", filename, strerror(errno)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from packet.h:45:0, from gpsdump.h:37, from gpsdump.cc:20: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from gpsdump.h:37:0, from gpsdump.cc:20: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetracker.h:32:0, from gpsdump.h:38, from gpsdump.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packetracker.h:35:0, from gpsdump.h:38, from gpsdump.cc:20: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from gpsdump.h:38, from gpsdump.cc:20: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from gpsdump.h:38, from gpsdump.cc:20: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c fifodump.cc -o fifodump.o server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from gpsdump.h:38, from gpsdump.cc:20: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from packet.h:45:0, from dumpfile.h:27, from airsnortdump.h:31, from airsnortdump.cc:19: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from dumpfile.h:27:0, from airsnortdump.h:31, from airsnortdump.cc:19: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetracker.h:32:0, from airsnortdump.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packetracker.h:35:0, from airsnortdump.cc:20: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from airsnortdump.cc:20: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from airsnortdump.cc:20: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from airsnortdump.cc:20: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c gpsd.cc -o gpsd.o In file included from packet.h:45:0, from fifodump.h:27, from fifodump.cc:28: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from fifodump.h:27:0, from fifodump.cc:28: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c manuf.cc -o manuf.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c packetracker.cc -o packetracker.o In file included from gpsd.cc:25:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from gpsd.cc:26:0: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from packetracker.h:32:0, from packetracker.cc:19: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packet.h:45:0, from manuf.h:27, from manuf.cc:23: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from manuf.h:27:0, from manuf.cc:23: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from manuf.h:28:0, from manuf.cc:23: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ In file included from packet.h:45:0, from packetracker.h:34, from packetracker.cc:19: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetracker.h:34:0, from packetracker.cc:19: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetracker.h:35:0, from packetracker.cc:19: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from packetracker.h:32:0, from manuf.cc:24: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from packetracker.cc:19: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from manuf.cc:24: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from packetracker.cc:19: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from packetracker.cc:19: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from manuf.cc:24: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from manuf.cc:24: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c timetracker.cc -o timetracker.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c alertracker.cc -o alertracker.o manuf.cc: In function 'manuf* MatchBestManuf(macmap >*, mac_addr, std::__cxx11::string, int, int, int, int*)': manuf.cc:142:9: warning: variable 'best_pos' set but not used [-Wunused-but-set-variable] int best_pos = 0; ^~~~~~~~ packetracker.cc: In member function 'void Packetracker::ProcessDataPacket(kis_packet*, packet_info*, wireless_network*, macmap*, unsigned char*)': packetracker.cc:1057:45: warning: comparison of constant '180' with boolean expression is always false [-Wbool-compare] if (info->gps_lon > client->max_lon == 180) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ packetracker.cc:1057:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] if (info->gps_lon > client->max_lon == 180) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ packetracker.cc:1212:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] means = "DHCP"; ^~~~~~ packetracker.cc:1223:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] means = "ARP"; ^~~~~ packetracker.cc:1239:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] means = "UDP"; ^~~~~ packetracker.cc:1256:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] means = "TCP"; ^~~~~ packetracker.cc:1301:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nsversion = "3.22"; ^~~~~~ packetracker.cc:1304:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nsversion = "3.23"; ^~~~~~ packetracker.cc:1307:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nsversion = "3.30"; ^~~~~~ packetracker.cc:1310:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nsversion = "unknown"; ^~~~~~~~~ packetracker.cc:1328:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "Authentication Request"; ^~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1331:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "Authentication Response"; ^~~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1334:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "Authentication Success"; ^~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1337:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "Authentication Failure"; ^~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1340:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "unknown"; ^~~~~~~~~ packetracker.cc:1346:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "LEAP"; ^~~~~~ packetracker.cc:1349:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "TTLS"; ^~~~~~ packetracker.cc:1352:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "TLS"; ^~~~~ packetracker.cc:1355:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "PEAP"; ^~~~~~ packetracker.cc:1358:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "UNKNOWN"; ^~~~~~~~~ packetracker.cc:1379:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "NONE"; ^~~~~~ packetracker.cc:1382:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Base"; ^~~~~~ packetracker.cc:1385:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Identity Protection (Main Mode)"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1388:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Authentication Only"; ^~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1391:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Aggressive"; ^~~~~~~~~~~~ packetracker.cc:1394:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Informational"; ^~~~~~~~~~~~~~~ packetracker.cc:1397:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Transaction (Config Mode)"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1400:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Quick Mode"; ^~~~~~~~~~~~ packetracker.cc:1403:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "New Group Mode"; ^~~~~~~~~~~~~~~~ packetracker.cc:1407:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Reserved for Future Use"; ^~~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1411:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "DOI Specific Use"; ^~~~~~~~~~~~~~~~~~ packetracker.cc:1414:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Private Use"; ^~~~~~~~~~~~~ packetracker.cc: In member function 'int Packetracker::WriteXMLNetworks(std::__cxx11::string)': packetracker.cc:2400:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "dhcp"; ^~~~~~ packetracker.cc:2403:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "arp"; ^~~~~ packetracker.cc:2406:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "udp"; ^~~~~ packetracker.cc:2409:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "tcp"; ^~~~~ packetracker.cc:2412:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "unknown"; ^~~~~~~~~ packetracker.cc:2431:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "fromds"; ^~~~~~~~ packetracker.cc:2434:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "tods"; ^~~~~~ packetracker.cc:2437:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "interds"; ^~~~~~~~~ packetracker.cc:2440:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "established"; ^~~~~~~~~~~~~ packetracker.cc:2443:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "sendto"; ^~~~~~~~ packetracker.cc:2446:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "unknown"; ^~~~~~~~~ packetracker.cc:2533:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "dhcp"; ^~~~~~ packetracker.cc:2536:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "arp"; ^~~~~ packetracker.cc:2539:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "udp"; ^~~~~ packetracker.cc:2542:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "tcp"; ^~~~~ packetracker.cc:2545:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "unknown"; ^~~~~~~~~ In file included from timetracker.cc:23:0: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from packet.h:45:0, from configfile.h:35, from tcpserver.h:41, from alertracker.h:32, from alertracker.cc:21: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from tcpserver.h:41, from alertracker.h:32, from alertracker.cc:21: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from alertracker.h:32:0, from alertracker.cc:21: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from server_protocols.h:26:0, from alertracker.h:33, from alertracker.cc:21: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:33:0, from alertracker.cc:21: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from alertracker.cc:21:0: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ alertracker.cc: In member function 'int Alertracker::RegisterAlert(const char*, alert_time_unit, int, alert_time_unit, int)': alertracker.cc:55:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (alert_name_map.find(in_header) != alert_name_map.end()) ^~ alertracker.cc:58:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (in_burstunit > in_unit) ^~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c finitestate.cc -o finitestate.o finitestate.cc:227:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "- got %"PRIx64", expected %"PRIx64" - this could indicate AP spoofing", ^ finitestate.cc:227:37: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "- got %"PRIx64", expected %"PRIx64" - this could indicate AP spoofing", ^ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c getopt.cc -o getopt.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c tcpserver.cc -o tcpserver.o In file included from packet.h:45:0, from configfile.h:35, from tcpserver.h:41, from kismet_server.h:27, from finitestate.h:27, from finitestate.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from tcpserver.h:41, from kismet_server.h:27, from finitestate.h:27, from finitestate.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from kismet_server.h:27:0, from finitestate.h:27, from finitestate.cc:22: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from kismet_server.h:28:0, from finitestate.h:27, from finitestate.cc:22: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:33:0, from finitestate.h:28, from finitestate.cc:22: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from finitestate.h:28:0, from finitestate.cc:22: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from packetracker.h:32:0, from finitestate.cc:23: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c server_protocols.cc -o server_protocols.o In file included from packet.h:45:0, from configfile.h:35, from tcpserver.h:41, from tcpserver.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from tcpserver.h:41, from tcpserver.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpserver.cc:22:0: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ server_protocols.cc:526:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] snprintf(tmpstr, 128, "%"PRId64"", net->bss_timestamp); ^ In file included from packet.h:45:0, from packetsource.h:27, from server_protocols.cc:21: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetsource.h:27:0, from server_protocols.cc:21: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from server_protocols.cc:21: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from server_protocols.h:26:0, from server_protocols.cc:23: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from server_protocols.h:27:0, from server_protocols.cc:23: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from server_protocols.cc:23:0: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:54:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:54:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:54:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:59:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:69:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:74:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:79:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:94:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:137:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:142:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c server_globals.cc -o server_globals.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c kismet_server.cc -o kismet_server.o c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c tcpstreamer.cc -o tcpstreamer.o In file included from kismet_server.cc:42:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packet.h:45:0, from configfile.h:35, from kismet_server.cc:43: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from kismet_server.cc:43: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from kismet_server.cc:47: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from dronesource.h:34:0, from kismet_server.cc:53: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ In file included from packetracker.h:35:0, from gpsdump.h:38, from kismet_server.cc:62: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ server_protocols.cc: In function 'void Protocol_Packet2Data(const packet_info*, PACKET_data*)': server_protocols.cc:743:6: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 127 [-Wformat-truncation=] void Protocol_Packet2Data(const packet_info *info, PACKET_data *data) { ^~~~~~~~~~~~~~~~~~~~ server_protocols.cc:773:13: note: 'snprintf' output between 3 and 258 bytes into a destination of size 128 snprintf(tmpstr, 128, "\001%s\001", strlen(info->ssid) == 0 ? " " : info->ssid); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from gpsdump.h:38, from kismet_server.cc:62: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from gpsdump.h:38, from kismet_server.cc:62: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c kismet_drone.cc -o kismet_drone.o server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from gpsdump.h:38, from kismet_server.cc:62: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from tcpstreamer.h:41:0, from tcpstreamer.cc:22: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c kismet_wrapper.cc -o kismet_wrapper.o kismet_server.cc:175:1: warning: 'typedef' was ignored in this declaration typedef struct _alert_enable { ^~~~~~~ In file included from packet.h:45:0, from tcpstreamer.h:43, from tcpstreamer.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpstreamer.h:43:0, from tcpstreamer.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpstreamer.h:44:0, from tcpstreamer.cc:22: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ kismet_server.cc: In function 'void ErrorShutdown()': kismet_server.cc:361:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (networkmanager_control("wake") < 0) ^ kismet_server.cc: In function 'void CatchShutdown(int)': kismet_server.cc:426:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (networkmanager_control("wake") < 0) ^ kismet_server.cc: In function 'int main(int, char**)': kismet_server.cc:2567:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (source_input_vec.size() == 0) ^~ kismet_server.cc:2570:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (conf->FetchOpt("vapdestroy") == "true") { ^~ kismet_server.cc:2711:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (networkmanager_control("sleep") < 0) ^ kismet_server.cc:3156:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (sound == 1) ^ kismet_server.cc:2206:44: warning: variable 'num_noise' set but not used [-Wunused-but-set-variable] int num_networks = 0, num_packets = 0, num_noise = 0, num_dropped = 0; ^~~~~~~~~ In file included from packet.h:45:0, from kismet_drone.cc:32: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from kismet_drone.cc:32:0: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from kismet_drone.cc:34: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from prism2source.h:23:0, from kismet_drone.cc:35: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from dronesource.h:34:0, from kismet_drone.cc:40: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c tcpclient.cc -o tcpclient.o kismet_drone.cc: In function 'int main(int, char**)': kismet_drone.cc:393:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (source_input_vec.size() == 0) ^~ kismet_drone.cc:396:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (conf->FetchOpt("vapdestroy") == "true") { ^~ tcpclient.cc:411:8: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "%d %d %d %d %d %d %d %d %"PRId64"", ^ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c frontend.cc -o frontend.o In file included from packet.h:45:0, from tcpclient.h:41, from tcpclient.cc:20: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpclient.h:41:0, from tcpclient.cc:20: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpclient.h:42:0, from tcpclient.cc:20: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from tcpclient.cc:20:0: tcpclient.h:65:5: warning: 'typedef' was ignored in this declaration typedef struct alert_info { ^~~~~~~ tcpclient.h:81:5: warning: 'typedef' was ignored in this declaration typedef struct string_info { ^~~~~~~ tcpclient.h:99:5: warning: 'typedef' was ignored in this declaration typedef struct card_info { ^~~~~~~ kismet_drone.cc:117:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc, char *argv[]) { ^~~~ kismet_drone.cc:733:21: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", sourcetracker.FetchError()); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kismet_drone.cc:117:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc, char *argv[]) { ^~~~ kismet_drone.cc:764:29: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet_sources[src]->FetchError()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from packetracker.h:32:0, from networksort.h:23, from tcpclient.cc:21: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from networksort.h:23, from tcpclient.cc:21: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from networksort.h:23, from tcpclient.cc:21: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from networksort.h:23, from tcpclient.cc:21: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from packet.h:45:0, from tcpclient.h:41, from frontend.h:34, from frontend.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpclient.h:41:0, from frontend.h:34, from frontend.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpclient.h:42:0, from frontend.h:34, from frontend.cc:22: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from frontend.h:34:0, from frontend.cc:22: tcpclient.h:65:5: warning: 'typedef' was ignored in this declaration typedef struct alert_info { ^~~~~~~ tcpclient.h:81:5: warning: 'typedef' was ignored in this declaration typedef struct string_info { ^~~~~~~ tcpclient.h:99:5: warning: 'typedef' was ignored in this declaration typedef struct card_info { ^~~~~~~ In file included from packetracker.h:32:0, from frontend.h:36, from frontend.cc:22: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ tcpclient.cc: In member function 'int TcpClient::Poll()': tcpclient.cc:249:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strlen(data) < 2) ^~ tcpclient.cc:253:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' old_num_networks = num_networks; ^~~~~~~~~~~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from frontend.h:36, from frontend.cc:22: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ tcpclient.cc: In member function 'int TcpClient::ParseData(char*)': tcpclient.cc:375:18: warning: variable 'turbocell_mode' set but not used [-Wunused-but-set-variable] turbocell_type turbocell_mode; ^~~~~~~~~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from frontend.h:36, from frontend.cc:22: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from frontend.h:36, from frontend.cc:22: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c cursesfront.cc -o cursesfront.o In file included from frontend.cc:22:0: frontend.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct display_network { ^~~~~~~ In file included from packet.h:45:0, from cursesfront.h:46, from cursesfront.cc:20: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from cursesfront.h:46:0, from cursesfront.cc:20: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpclient.h:42:0, from frontend.h:34, from cursesfront.h:47, from cursesfront.cc:20: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from frontend.h:34:0, from cursesfront.h:47, from cursesfront.cc:20: tcpclient.h:65:5: warning: 'typedef' was ignored in this declaration typedef struct alert_info { ^~~~~~~ tcpclient.h:81:5: warning: 'typedef' was ignored in this declaration typedef struct string_info { ^~~~~~~ tcpclient.h:99:5: warning: 'typedef' was ignored in this declaration typedef struct card_info { ^~~~~~~ In file included from packetracker.h:32:0, from frontend.h:36, from cursesfront.h:47, from cursesfront.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from frontend.h:36, from cursesfront.h:47, from cursesfront.cc:20: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from frontend.h:36, from cursesfront.h:47, from cursesfront.cc:20: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from frontend.h:36, from cursesfront.h:47, from cursesfront.cc:20: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from cursesfront.h:47:0, from cursesfront.cc:20: frontend.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct display_network { ^~~~~~~ cursesfront.cc: In member function 'virtual int NCurseFront::DrawDisplay()': cursesfront.cc:78:5: warning: '%02d' directive output may be truncated writing between 2 and 9 bytes into a region of size 8 [-Wformat-truncation=] int NCurseFront::DrawDisplay() { ^~~~~~~~~~~ cursesfront.cc:78:5: note: directive argument in the range [-35791394, 35791394] cursesfront.cc:78:5: note: directive argument in the range [-59, 59] cursesfront.cc:78:5: note: directive argument in the range [-59, 59] cursesfront.cc:157:13: note: 'snprintf' output between 7 and 16 bytes into a destination of size 8 snprintf(info, infowidth-2, "%02d%02d%02d", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (int) (elapsed / 60) / 60, (int) (elapsed / 60) % 60, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (int) elapsed % 60); ~~~~~~~~~~~~~~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c panelfront.cc -o panelfront.o In file included from packet.h:45:0, from tcpclient.h:41, from frontend.h:34, from panelfront.h:45, from panelfront.cc:53: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpclient.h:41:0, from frontend.h:34, from panelfront.h:45, from panelfront.cc:53: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpclient.h:42:0, from frontend.h:34, from panelfront.h:45, from panelfront.cc:53: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from frontend.h:34:0, from panelfront.h:45, from panelfront.cc:53: tcpclient.h:65:5: warning: 'typedef' was ignored in this declaration typedef struct alert_info { ^~~~~~~ tcpclient.h:81:5: warning: 'typedef' was ignored in this declaration typedef struct string_info { ^~~~~~~ tcpclient.h:99:5: warning: 'typedef' was ignored in this declaration typedef struct card_info { ^~~~~~~ In file included from packetracker.h:32:0, from frontend.h:36, from panelfront.h:45, from panelfront.cc:53: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from frontend.h:36, from panelfront.h:45, from panelfront.cc:53: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from frontend.h:36, from panelfront.h:45, from panelfront.cc:53: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from frontend.h:36, from panelfront.h:45, from panelfront.cc:53: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from panelfront.h:45:0, from panelfront.cc:53: frontend.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct display_network { ^~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c panelfront_display.cc -o panelfront_display.o In file included from panelfront.cc:53:0: panelfront.h:121:5: warning: 'typedef' was ignored in this declaration typedef struct color_pair { ^~~~~~~ panelfront.h:181:5: warning: 'typedef' was ignored in this declaration typedef struct server_context { ^~~~~~~ panelfront.h:244:5: warning: 'typedef' was ignored in this declaration typedef struct cardinfo_context { ^~~~~~~ panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:138:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:172:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:189:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:203:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:217:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:217:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:217:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:217:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:217:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:217:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:217:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:217:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:217:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:229:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:229:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:229:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:229:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:229:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:229:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:229:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:229:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:241:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:241:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:241:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:241:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:241:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:241:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:241:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:241:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:251:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:251:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:251:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:251:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:261:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:261:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:261:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:261:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:261:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:274:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:274:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:274:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:274:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:274:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:274:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:274:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:274:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:287:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:287:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:287:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:287:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:287:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:287:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:287:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:287:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:303:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront_display.cc:1715:32: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] snprintf(output, print_width, "BSS Time: %"PRIx64"", dnet->bss_timestamp); ^ panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:350:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:360:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:360:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:360:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:360:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:360:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:360:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:388:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:402:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:425:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:437:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ panelfront.cc:437:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:437:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:437:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:437:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:437:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:437:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc:437:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] panelfront.cc: In member function 'PanelFront::kis_window* PanelFront::SpawnWindow(std::__cxx11::string, PanelFront::panel_printer, PanelFront::key_handler, int, int)': panelfront.cc:1151:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (in_x == -1 || in_x + 2 > LINES) ^ panelfront.cc:1158:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (in_y == -1 || in_y + 2 > COLS) ^ panelfront.cc: In member function 'virtual void PanelFront::AddPrefs(std::map, std::__cxx11::basic_string >)': panelfront.cc:1805:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (prefs["autogroup_data"] == "true") ^~ panelfront.cc:1807:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (prefs["autogroup_adhoc"] == "true") ^~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c panelfront_input.cc -o panelfront_input.o In file included from packet.h:45:0, from tcpclient.h:41, from frontend.h:34, from panelfront.h:45, from panelfront_display.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpclient.h:41:0, from frontend.h:34, from panelfront.h:45, from panelfront_display.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpclient.h:42:0, from frontend.h:34, from panelfront.h:45, from panelfront_display.cc:22: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from frontend.h:34:0, from panelfront.h:45, from panelfront_display.cc:22: tcpclient.h:65:5: warning: 'typedef' was ignored in this declaration typedef struct alert_info { ^~~~~~~ tcpclient.h:81:5: warning: 'typedef' was ignored in this declaration typedef struct string_info { ^~~~~~~ tcpclient.h:99:5: warning: 'typedef' was ignored in this declaration typedef struct card_info { ^~~~~~~ In file included from packetracker.h:32:0, from frontend.h:36, from panelfront.h:45, from panelfront_display.cc:22: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from frontend.h:36, from panelfront.h:45, from panelfront_display.cc:22: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from frontend.h:36, from panelfront.h:45, from panelfront_display.cc:22: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from frontend.h:36, from panelfront.h:45, from panelfront_display.cc:22: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from panelfront.h:45:0, from panelfront_display.cc:22: frontend.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct display_network { ^~~~~~~ In file included from panelfront_display.cc:22:0: panelfront.h:121:5: warning: 'typedef' was ignored in this declaration typedef struct color_pair { ^~~~~~~ panelfront.h:181:5: warning: 'typedef' was ignored in this declaration typedef struct server_context { ^~~~~~~ panelfront.h:244:5: warning: 'typedef' was ignored in this declaration typedef struct cardinfo_context { ^~~~~~~ In file included from packet.h:45:0, from tcpclient.h:41, from frontend.h:34, from panelfront.h:45, from panelfront_input.cc:23: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpclient.h:41:0, from frontend.h:34, from panelfront.h:45, from panelfront_input.cc:23: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpclient.h:42:0, from frontend.h:34, from panelfront.h:45, from panelfront_input.cc:23: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from frontend.h:34:0, from panelfront.h:45, from panelfront_input.cc:23: tcpclient.h:65:5: warning: 'typedef' was ignored in this declaration typedef struct alert_info { ^~~~~~~ tcpclient.h:81:5: warning: 'typedef' was ignored in this declaration typedef struct string_info { ^~~~~~~ tcpclient.h:99:5: warning: 'typedef' was ignored in this declaration typedef struct card_info { ^~~~~~~ panelfront_display.cc: In member function 'int PanelFront::DetailsClientPrinter(void*)': panelfront_display.cc:3096:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (details_client->crypt_set & crypt_pptp) ^~ panelfront_display.cc:3098:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (details_client->crypt_set & crypt_ccmp) ^~ In file included from packetracker.h:32:0, from frontend.h:36, from panelfront.h:45, from panelfront_input.cc:23: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from frontend.h:36, from panelfront.h:45, from panelfront_input.cc:23: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from frontend.h:36, from panelfront.h:45, from panelfront_input.cc:23: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from frontend.h:36, from panelfront.h:45, from panelfront_input.cc:23: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from panelfront.h:45:0, from panelfront_input.cc:23: frontend.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct display_network { ^~~~~~~ In file included from panelfront_input.cc:23:0: panelfront.h:121:5: warning: 'typedef' was ignored in this declaration typedef struct color_pair { ^~~~~~~ panelfront.h:181:5: warning: 'typedef' was ignored in this declaration typedef struct server_context { ^~~~~~~ panelfront.h:244:5: warning: 'typedef' was ignored in this declaration typedef struct cardinfo_context { ^~~~~~~ kismet_server.cc:2157:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc,char *argv[]) { ^~~~ kismet_server.cc:3064:21: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", sourcetracker.FetchError()); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kismet_server.cc:2157:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc,char *argv[]) { ^~~~ kismet_server.cc:3282:41: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", dumpfile->FetchError()); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kismet_server.cc:2157:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc,char *argv[]) { ^~~~ kismet_server.cc:3304:29: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet_sources[src]->FetchError()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses -c kismet_client.cc -o kismet_client.o In file included from packet.h:45:0, from tcpclient.h:41, from kismet_client.cc:26: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpclient.h:41:0, from kismet_client.cc:26: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpclient.h:42:0, from kismet_client.cc:26: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from kismet_client.cc:26:0: tcpclient.h:65:5: warning: 'typedef' was ignored in this declaration typedef struct alert_info { ^~~~~~~ tcpclient.h:81:5: warning: 'typedef' was ignored in this declaration typedef struct string_info { ^~~~~~~ tcpclient.h:99:5: warning: 'typedef' was ignored in this declaration typedef struct card_info { ^~~~~~~ In file included from packetracker.h:32:0, from frontend.h:36, from kismet_client.cc:27: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from frontend.h:36, from kismet_client.cc:27: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ c++ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -o kismet_server util.o cygwin_utils.o ringbuf.o configfile.o speech.o ifcontrol.o iwcontrol.o madwifing_control.o packet.o pcapsource.o prism2source.o wtapfilesource.o wsp100source.o dronesource.o vihasource.o airpcapsource.o packetsourcetracker.o kis_packsources.o wtapdump.o wtaplocaldump.o gpsdump.o airsnortdump.o fifodump.o gpsd.o manuf.o packetracker.o timetracker.o alertracker.o finitestate.o getopt.o tcpserver.o server_protocols.o server_globals.o kismet_server.o -lm -lstdc++ -lm -lpcap In file included from alertracker.h:33:0, from packetracker.h:37, from frontend.h:36, from kismet_client.cc:27: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from frontend.h:36, from kismet_client.cc:27: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from kismet_client.cc:27:0: frontend.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct display_network { ^~~~~~~ c++ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -o kismet_drone util.o cygwin_utils.o ringbuf.o configfile.o getopt.o ifcontrol.o iwcontrol.o madwifing_control.o packet.o tcpstreamer.o prism2source.o pcapsource.o wtapfilesource.o wsp100source.o airpcapsource.o dronesource.o vihasource.o packetsourcetracker.o kis_packsources.o timetracker.o gpsd.o server_globals.o kismet_drone.o -lm -lstdc++ -lm -lpcap In file included from kismet_client.cc:29:0: panelfront.h:121:5: warning: 'typedef' was ignored in this declaration typedef struct color_pair { ^~~~~~~ panelfront.h:181:5: warning: 'typedef' was ignored in this declaration typedef struct server_context { ^~~~~~~ panelfront.h:244:5: warning: 'typedef' was ignored in this declaration typedef struct cardinfo_context { ^~~~~~~ In file included from kismet_client.cc:32:0: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ c++ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -o kismet kismet_wrapper.o -lm -lstdc++ -lm kismet_client.cc: In function 'int main(int, char**)': kismet_client.cc:754:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (gui_conf->FetchOpt("autogroup_data") == "true") ^~ kismet_client.cc:757:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (gui_conf->FetchOpt("autogroup_adhoc") == "true") ^~ kismet_client.cc:342:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 942 and 1010 [-Wformat-truncation=] int main(int argc, char *argv[]) { ^~~~ kismet_client.cc:900:33: note: 'snprintf' output between 15 and 1106 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "%s:%d TCP error: %s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcpcli->FetchHost(), tcpcli->FetchPort(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcpcli->FetchError()); ~~~~~~~~~~~~~~~~~~~~~ panelfront_display.cc: In member function 'void PanelFront::NetLine(PanelFront::kis_window*, std::__cxx11::string*, wireless_network*, const char*, int, int, int, int)': panelfront_display.cc:32:6: warning: '%4ld' directive output may be truncated writing between 4 and 14 bytes into a region of size 6 [-Wformat-truncation=] void PanelFront::NetLine(kis_window *in_window, string *in_str, wireless_network *net, const char *name, int sub, ^~~~~~~~~~ panelfront_display.cc:32:6: note: directive argument in the range [1, 17592186044415] panelfront_display.cc:229:25: note: 'snprintf' output between 6 and 16 bytes into a destination of size 6 snprintf(element, 6, "%4ldM", net->datasize/1024/1024); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ panelfront_display.cc: In member function 'void PanelFront::ClientLine(PanelFront::kis_window*, std::__cxx11::string*, wireless_client*, int)': panelfront_display.cc:992:6: warning: '%4ld' directive output may be truncated writing between 4 and 14 bytes into a region of size 6 [-Wformat-truncation=] void PanelFront::ClientLine(kis_window *in_window, string *in_str, wireless_client *wclient, int print_width) { ^~~~~~~~~~ panelfront_display.cc:992:6: note: directive argument in the range [1, 17592186044415] panelfront_display.cc:1094:25: note: 'snprintf' output between 6 and 16 bytes into a destination of size 6 snprintf(element, 6, "%4ldM", wclient->datasize/1024/1024); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ panelfront_display.cc: In member function 'int PanelFront::MainInfoPrinter(void*)': panelfront_display.cc:823:5: warning: ':' directive output may be truncated writing 1 byte into a region of size between 0 and 7 [-Wformat-truncation=] int PanelFront::MainInfoPrinter(void *in_window) { ^~~~~~~~~~ panelfront_display.cc:823:5: note: directive argument in the range [-59, 59] panelfront_display.cc:823:5: note: directive argument in the range [-59, 59] panelfront_display.cc:923:17: note: 'snprintf' output between 9 and 18 bytes into a destination of size 9 snprintf(info, infowidth-1, "%02d:%02d:%02d", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (int) (elapsed / 60) / 60, (int) (elapsed / 60) % 60, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (int) elapsed % 60); ~~~~~~~~~~~~~~~~~~~ panelfront_display.cc: In member function 'int PanelFront::RatePrinter(void*)': panelfront_display.cc:2793:5: warning: '%4d' directive output may be truncated writing between 4 and 10 bytes into a region of size 5 [-Wformat-truncation=] int PanelFront::RatePrinter(void *in_window) { ^~~~~~~~~~ panelfront_display.cc:2793:5: note: directive argument in the range [0, 2147483647] panelfront_display.cc:2910:13: note: 'snprintf' output between 5 and 11 bytes into a destination of size 5 snprintf(graphstring, 5, "%4d", avg_max/2); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -o kismet_client util.o configfile.o speech.o manuf.o tcpclient.o timetracker.o frontend.o cursesfront.o panelfront.o panelfront_display.o panelfront_input.o gpsd.o getopt.o kismet_client.o -lm -lstdc++ -lm -lpanel -lncurses *** Please use pkgtools/verifypc to sanity check dependencies.