[Buildroot] [PATCH v3] package/qt5/qt5base: fix build with gcc 11

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Jul 17 08:03:48 UTC 2021


On Tue,  6 Jul 2021 07:29:02 +0300
Maxim Kochetkov via buildroot <buildroot at busybox.net> wrote:

> Fix the following build failure with gcc 11:
> 
> text/qbytearraymatcher.h:103:38: error: 'numeric_limits' is not a member of 'std'
>   103 |         const auto uchar_max = (std::numeric_limits<uchar>::max)();
>       |                                      ^~~~~~~~~~~~~~
> 
> Signed-off-by: Maxim Kochetkov <fido_max at inbox.ru>
> Tested-by: Peter Seiderer <ps.report at gmx.net>
> ---
> Changes v2 -> v3:
>   - Removed "Tested-by" from 0007-Build-fixes-for-GCC-11.patch

Applied to master, thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list