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

5.15 doesn't compile: squawking about numeric_limits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 5.15
    • Fix Version/s: None
    • Component/s: Core: Other
    • Labels:
      None
    • Environment:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            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