Re: [PATCH] eapol_test build under GCC-10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 16, 2020 at 04:23:12PM +0100, Didier 'OdyX' Raboud wrote:
> wpa_supplicant.c: In function ‘wpa_supplicant_init’:
> wpa_supplicant.c:6821:24: error: unknown conversion type character ‘+’ in format [-Werror=format=]
>  6821 |  wpa_printf(MSG_DEBUG, "wpa_supplicant v" VERSION_STR);
>       |                        ^~~~~~~~~~~~~~~~~~

> It might be because in the Debian package's development case, VERSION_STR
> ends up being "v2.10-devel-debian/2%2.9+git20200213+877d9a0-1-3-g3bd59207c+".

Indeed.. That has nothing to do with the compiler version. I did not
expect anyone to use '%' in a version string, but apparently that can
happen, so I applied this patch with additions to cover all cases where
VERSION_STR was used in this manner.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux