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

GCC 11 requires explicit #include <limits>

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 5.15.2
    • None
    • Ubuntu 22.04 GCC version 11.2.0
    • Linux/X11

    Description

      Build of Qt base from source at configuration stage, fails, results in Error: 'numeric_limits' is not a class template.

      workaround is as explained in another report https://bugreports.qt.io/browse/QTBUG-93452  is to add:

      #ifdef __cplusplus
      #include <limits>
      #endif

      At header file located at qtbase/src/corelib/global/qglobal.h 

      Attachments

        Activity

          People

            villevoutilainen_qt Ville Voutilainen
            babakhajizadeh Babak Hajizadeh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: