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

MinGW v13.1.0: errors in TinyCBOR (Windows 10 22H2 x86_64)

    XMLWordPrintable

Details

    • Windows
    • 3e801b547 (dev), d173d73f2 (6.6), 1c4b5b000 (6.5)

    Description

      I'm trying to update MinGW that is used in CI from 11.2.0 to 13.1.0.

      The source files are downloaded/cached from here:

      https://github.com/niXman/mingw-builds-binaries/releases

      Direct links:

      https://github.com/niXman/mingw-builds-binaries/releases/download/13.1.0-rt_v11-rev1/x86_64-13.1.0-release-posix-seh-ucrt-rt_v11-rev1.7z

      https://github.com/niXman/mingw-builds-binaries/releases/download/13.1.0-rt_v11-rev1/x86_64-13.1.0-release-posix-seh-msvcrt-rt_v11-rev1.7z

      Since version 12.2.0, there are now UCRT and MSVCRT build versions. The latter is what is currently used in version 11.2.0 so it should be the default? I tried both in this situation anyway and they outputted the same errors:

      Gerrit patchset 5: ucrt Coin testresults, qtbase build log
       
      C:/Users/qt/work/qt/qtbase/src/3rdparty/tinycbor/tests/encoder/data.cpp:242:83: error: no matching function for call to 'QVariant::fromValue<qfloat16>(float)'
      242 |     QTest::newRow("nan_f16") << raw("\xf9\x7e\0") << QVariant::fromValue<qfloat16>(myNaNf()); 
       
      C:/Users/qt/work/qt/qtbase/src/3rdparty/tinycbor/tests/encoder/data.cpp:242:90: error: invalid user-defined conversion from 'float' to 'const qfloat16&' [-fpermissive]
      242 |     QTest::newRow("nan_f16") << raw("\xf9\x7e\0") << QVariant::fromValue<qfloat16>(myNaNf());
       
      C:/Users/qt/work/qt/qtbase/src/3rdparty/tinycbor/tests/encoder/data.cpp:243:84: error: no matching function for call to 'QVariant::fromValue<qfloat16>(float)'
      243 |     QTest::newRow("-inf_f16") << raw("\xf9\xfc\0") << QVariant::fromValue<qfloat16>(myNInff());
       
      C:/Users/qt/work/qt/qtbase/src/3rdparty/tinycbor/tests/encoder/data.cpp:243:92: error: invalid user-defined conversion from 'float' to 'const qfloat16&' [-fpermissive]
      243 |     QTest::newRow("-inf_f16") << raw("\xf9\xfc\0") << QVariant::fromValue<qfloat16>(myNInff());
       
      C:/Users/qt/work/qt/qtbase/src/3rdparty/tinycbor/tests/encoder/data.cpp:244:84: error: no matching function for call to 'QVariant::fromValue<qfloat16>(float)'
      244 |     QTest::newRow("+inf_f16") << raw("\xf9\x7c\0") << QVariant::fromValue<qfloat16>(myInff());
       
      C:/Users/qt/work/qt/qtbase/src/3rdparty/tinycbor/tests/encoder/data.cpp:244:91: error: invalid user-defined conversion from 'float' to 'const qfloat16&' [-fpermissive]
      244 |     QTest::newRow("+inf_f16") << raw("\xf9\x7c\0") << QVariant::fromValue<qfloat16>(myInff());

       

      Patchset 6: msvcrt Coin testresults, qtbase build log
      same errors

       

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              eltoivol Elias Toivola
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes