qt5-base: add fix for host GCC 9

This commit is contained in:
Leonid Pliushch 2020-02-05 19:38:34 +02:00 committed by Yaksh Bariya
parent 194b82b8ce
commit 04160899aa
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -uNr qt-everywhere-src-5.11.3/qtbase/src/corelib/global/qrandom.cpp qt-everywhere-src-5.11.3.mod/qtbase/src/corelib/global/qrandom.cpp
--- qt-everywhere-src-5.11.3/qtbase/src/corelib/global/qrandom.cpp 2018-11-25 14:51:11.000000000 +0200
+++ qt-everywhere-src-5.11.3.mod/qtbase/src/corelib/global/qrandom.cpp 2020-02-05 19:37:27.660672838 +0200
@@ -218,6 +218,7 @@
#endif // Q_OS_WINRT
static SystemGenerator &self();
+ typedef quint32 result_type;
void generate(quint32 *begin, quint32 *end) Q_DECL_NOEXCEPT_EXPR(FillBufferNoexcept);
// For std::mersenne_twister_engine implementations that use something