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

icx on windows has an issue with int128 6.6.0 rc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.6.1, 6.7.0 FF
    • 6.0.0 RC
    • Core: Other
    • None
    • Windows
    • 19f54b901 (dev), 3b873fb7a (6.6)

      Changes in 6.6.0 rc to support int128 cause compilation to fail with the following error.

      C:\Qt\qt-everywhere-src-6.6.0-rc\qtbase\src\corelib\global\qtypes.cpp(521,1): error: static assertion failed due to requirement 'std::numeric_limits<unsigned __int128>::max() == static_cast<unsigned __int128>(-1)'
      static_assert(std::numeric_limits<quint128>::max() == Q_UINT128_MAX);
      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      C:\Qt\qt-everywhere-src-6.6.0-rc\qtbase\src\corelib\global\qtypes.cpp(521,52): note: expression evaluates to '0 == 340282366920938463463374607431768211455'
      static_assert(std::numeric_limits<quint128>::max() == Q_UINT128_MAX); 
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 
      

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

            thiago Thiago Macieira
            rich Richard Fleck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes