PirateNetwork / pirate

Pirate Chain (ARRR) - Untraceable, Anonymous, Private Cryptocurrency
https://piratechain.com
Other
113 stars 27 forks source link

Error Error compiling qt GUI binaries for arch linux #70

Closed acul71 closed 8 months ago

acul71 commented 3 years ago

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
kn0wmad commented 3 years ago

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

joickle commented 2 years ago

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