Adrian Chadd <adr...@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 <vid...@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.

Attachment: signature.asc
Description: PGP signature

Reply via email to