PirateNetwork/pirate

Error Error compiling qt GUI binaries for arch linux

Closed this issue · 2 comments

Describe the bug
Error compiling qt GUI binaries version v5.2.0-cee47a746-dirty (64-bit) for arch linux

qtbase/src/corelib/tools/qbytearraymatcher.h: 
error: 'numeric_limits' is not a member of 'std'
g++ --version
g++ (GCC) 11.1.0

To Reproduce

./zcutil/build-qt-linux.sh -j8

Additional context.
fixed adding:

#include <stdexcept>
#include <limits>

in file:

qtbase/src/corelib/tools/qbytearraymatcher.h

Can confirm this also fixed my Arch build woes. Thanks @acul71

I also had the same error on Manjaro, big thanks for the quick fix @acul71 :)