# ./configure -platform win32-g++ -opensource -confirm-license
+ cd qtbase
+ /Src/qtbase/configure -top-level -platform win32-g++ -opensource -confirm-license
Creating qmake...
.In file included from C:/Ruby32-x64/msys64/Src/qtbase/include/QtCore/qendian.h:1,
                 from C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/codecs/qutfcodec.cpp:43:
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h: In static member function 'static constexpr QSpecialInteger<S> QSpecialInteger<S>::max()':
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:331:35: error: 'numeric_limits' is not a member of 'std'
  331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
      |                                   ^~~~~~~~~~~~~~
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:331:54: error: '::max' has not been declared; did you mean 'std::max'?
  331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
      |                                                      ^~~
      |                                                      std::max
In file included from C:/Ruby32-x64/msys64/mingw64/include/c++/13.2.0/algorithm:61,
                 from C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qglobal.h:142,
                 from C:/Ruby32-x64/msys64/Src/qtbase/include/QtCore/qglobal.h:1,
                 from C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/tools/qchar.h:43,
                 from C:/Ruby32-x64/msys64/Src/qtbase/include/QtCore/qchar.h:1,
                 from C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/tools/qstring.h:48,
                 from C:/Ruby32-x64/msys64/Src/qtbase/include/QtCore/qstring.h:1,
                 from C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/codecs/qutfcodec_p.h:55,
                 from C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/codecs/qutfcodec.cpp:41:
C:/Ruby32-x64/msys64/mingw64/include/c++/13.2.0/bits/stl_algo.h:5805:5: note: 'std::max' declared here
 5805 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:331:29: error: expected primary-expression before '(' token
  331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
      |                             ^
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:331:35: error: 'numeric_limits' is not a member of 'std'
  331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
      |                                   ^~~~~~~~~~~~~~
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:331:51: error: expected primary-expression before '>' token
  331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
      |                                                   ^
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:331:54: error: '::max' has not been declared; did you mean 'std::max'?
  331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
      |                                                      ^~~
      |                                                      std::max
C:/Ruby32-x64/msys64/mingw64/include/c++/13.2.0/bits/stl_algo.h:5805:5: note: 'std::max' declared here
 5805 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h: In static member function 'static constexpr QSpecialInteger<S> QSpecialInteger<S>::min()':
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:333:35: error: 'numeric_limits' is not a member of 'std'
  333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
      |                                   ^~~~~~~~~~~~~~
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:333:54: error: '::min' has not been declared; did you mean 'std::min'?
  333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
      |                                                      ^~~
      |                                                      std::min
C:/Ruby32-x64/msys64/mingw64/include/c++/13.2.0/bits/stl_algo.h:5785:5: note: 'std::min' declared here
 5785 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:333:29: error: expected primary-expression before '(' token
  333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
      |                             ^
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:333:35: error: 'numeric_limits' is not a member of 'std'
  333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
      |                                   ^~~~~~~~~~~~~~
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:333:51: error: expected primary-expression before '>' token
  333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
      |                                                   ^
C:/Ruby32-x64/msys64/Src/qtbase/src/corelib/global/qendian.h:333:54: error: '::min' has not been declared; did you mean 'std::min'?
  333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
      |                                                      ^~~
      |                                                      std::min
C:/Ruby32-x64/msys64/mingw64/include/c++/13.2.0/bits/stl_algo.h:5785:5: note: 'std::min' declared here
 5785 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
make: *** [Makefile:386: qutfcodec.o] Error 1
