Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97272

5.15 doesn't compile: squawking about numeric_limits

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.15
    • Core: Other
    • None
    • Arch Linux; gcc 11.1 or clang 12.0.1

    Description

      $ ../qt5/configure -developer-build -debug -no-optimize-debug -confirm-license -opensource -no-tslib -no-pch -nomake tests -nomake examples
      ...
      In file included from /home/rutledge/dev/qt5/qtbase/src/corelib/text/qbytearraymatcher.cpp:40:
      /home/rutledge/dev/qt5/qtbase/src/corelib/text/qbytearraymatcher.h: In static member function ‘static QStaticByteArrayMatcherBase::Skiptable QStaticByteArrayMatcherBase::generate(const char*, uint)’:
      /home/rutledge/dev/qt5/qtbase/src/corelib/text/qbytearraymatcher.h:103:38: error: ‘numeric_limits’ is not a member of ‘std’
        103 |         const auto uchar_max = (std::numeric_limits<uchar>::max)();
            |                                      ^~~~~~~~~~~~~~
      ...
      <much more of the same, in various files>
      

      Attachments

        1. typescript-decolorized
          129 kB
          Shawn Rutledge
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes