Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / qt_numeric_limits_CO9.patch
1 diff -Naur qt.ref/qtbase/src/corelib/global/qendian.h qt.dev/qtbase/src/corelib/global/qendian.h
2 --- qt.ref/qtbase/src/corelib/global/qendian.h  2020-09-21 15:16:21.000000000 +0200
3 +++ qt.dev/qtbase/src/corelib/global/qendian.h  2023-10-11 10:52:55.992773784 +0200
4 @@ -47,6 +47,7 @@
5  // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems
6  #include <stdlib.h>
7  #include <string.h>
8 +#include <limits>
9  
10  #ifdef min // MSVC
11  #undef min
12 diff -Naur qt.ref/qtbase/src/corelib/tools/qbytearraymatcher.h qt.dev/qtbase/src/corelib/tools/qbytearraymatcher.h
13 --- qt.ref/qtbase/src/corelib/tools/qbytearraymatcher.h 2020-09-21 15:16:21.000000000 +0200
14 +++ qt.dev/qtbase/src/corelib/tools/qbytearraymatcher.h 2023-10-11 10:57:35.066370201 +0200
15 @@ -41,6 +41,7 @@
16  #define QBYTEARRAYMATCHER_H
17  
18  #include <QtCore/qbytearray.h>
19 +#include <limits>
20  
21  QT_BEGIN_NAMESPACE
22  
23 diff -Naur qt.ref/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h qt.dev/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h
24 --- qt.ref/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h     2020-10-15 08:53:19.000000000 +0200
25 +++ qt.dev/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h     2023-10-11 11:36:43.775903667 +0200
26 @@ -50,6 +50,8 @@
27  #include <initializer_list>
28  #include <type_traits>
29  
30 +#include <limits>
31 +
32  //
33  //  W A R N I N G
34  //  -------------