Re: WMM related compile bug on F17

Jouni Malinen <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
On Tue, Jan 21, 2020 at 10:12:09AM -0800, Ben Greear wrote:
> While trying to get latest code to build on F17 and other older systems, I noticed
> that this code fails to compile:
> 
> struct hostapd_wmm_ac_params wmmp[WMM_AC_NUM] = { 0 };
> 
> It looks like WMM_AC_NUM is treated as 0, even though the enum defines it
> as 4.
> 
> Anyone know if this is some particular compiler bug or an acceptable work-around?

Which compilers and versions produced the error and what was the exact
error?

-- 
Jouni Malinen                                            PGP id EFC895FA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.