]>
Commit | Line | Data |
---|---|---|
b02ff48b JP |
1 | Description: include <limits> to fix some GCC 11 build issues |
2 | Origin: upstream, commits: | |
3 | https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986 | |
4 | https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8 | |
5 | Last-Update: 2021-01-26 | |
6 | ||
7 | --- a/src/corelib/global/qendian.h | |
8 | +++ b/src/corelib/global/qendian.h | |
9 | @@ -44,6 +44,8 @@ | |
10 | #include <QtCore/qfloat16.h> | |
11 | #include <QtCore/qglobal.h> | |
12 | ||
13 | +#include <limits> | |
14 | + | |
15 | // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems | |
16 | #include <stdlib.h> | |
17 | #include <string.h> | |
18 | --- a/src/corelib/global/qfloat16.h | |
19 | +++ b/src/corelib/global/qfloat16.h | |
20 | @@ -43,6 +43,7 @@ | |
21 | ||
22 | #include <QtCore/qglobal.h> | |
23 | #include <QtCore/qmetatype.h> | |
24 | +#include <limits> | |
25 | #include <string.h> | |
26 | ||
27 | #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) | |
28 | --- a/src/corelib/text/qbytearraymatcher.h | |
29 | +++ b/src/corelib/text/qbytearraymatcher.h | |
30 | @@ -42,6 +42,8 @@ | |
31 | ||
32 | #include <QtCore/qbytearray.h> | |
33 | ||
34 | +#include <limits> | |
35 | + | |
36 | QT_BEGIN_NAMESPACE | |
37 | ||
38 |