Date: Mon, 14 Mar 2016 09:34:47 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Jan Beich <jbeich@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r296823 - in head: sbin/ifconfig sys/net80211 Message-ID: <CAJ-VmomnEq2mh5cwHXue1rb0QLxvyL_sz=t2KEOJUzE6eYaC_w@mail.gmail.com> In-Reply-To: <egbd-82yi-wny@vfemail.net> References: <201603140439.u2E4dZNO096916@repo.freebsd.org> <egbd-82yi-wny@vfemail.net>
next in thread | previous in thread | raw e-mail | index | archive | help
oops! I'll fix now Thanks! -a On 14 March 2016 at 09:00, Jan Beich <jbeich@freebsd.org> wrote: > Adrian Chadd <adrian@FreeBSD.org> writes: > >> Author: adrian >> Date: Mon Mar 14 04:39:35 2016 >> New Revision: 296823 >> URL: https://svnweb.freebsd.org/changeset/base/296823 >> >> Log: >> [net80211] handle unlisted information elements. >> >> This displays the IE names in ifconfig but it doesn't yet decode things. >> >> Submitted by: Idwer Vollering <vidwer@gmail.com> >> Differential Revision: https://reviews.freebsd.org/D3782 > [...] >> Modified: head/sys/net80211/ieee80211.h > [...] >> +struct ieee80211_ap_chan_report_ie { >> + uint8_t ie; >> + uint8_t len; >> + uint8_t class; /* operating class */ > > "class" is a reserved keyword in C++. www/firefox implements wifi > geolocation in C++, so it's now broken. www/chromium is probably also > affected. > > In file included from netwerk/wifi/Unified_cpp_netwerk_wifi0.cpp:20: > In file included from netwerk/wifi/nsWifiScannerFreeBSD.cpp:19: > In file included from /usr/include/net80211/ieee80211_ioctl.h:35: > /usr/include/net80211/ieee80211.h:800:11: error: declaration of anonymous class must be a definition > uint8_t class; /* operating class */ > ^ > 1 error generated.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomnEq2mh5cwHXue1rb0QLxvyL_sz=t2KEOJUzE6eYaC_w>