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

QtCore: implicit instantiation of undefined template 'std::char_traits<unsigned char>' (libc++ 19 / musl libc / amd64)

    XMLWordPrintable

Details

    • Linux/Wayland
    • ab05e05f6 (dev), fce7a4526 (6.8), 024fdcd0c (6.7)

    Description

      broken out of a https://bugreports.qt.io/browse/QTBUG-122753 comment

      /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/qtbase/6.7.2/image/usr/include/QtCore/qanystringview.h:135:35: error: implicit instantiation of undefined template 'std::char_traits<QChar>'
           135 |             return qsizetype(std::char_traits<Char>::length(str));
               |                                   ^
         /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/qtbase/6.7.2/image/usr/include/QtCore/qanystringview.h:174:37: note: in instantiation of function template specialization 'QAnyStringView::lengthHelperPointer<QChar>' requested
         ↪ here
           174 |         : QAnyStringView{str, str ? lengthHelperPointer(str) : 0} {}
               |                                     ^
         /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/qtbase/6.7.2/git/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp:685:14: note: in instantiation of function template specialization 'QAnyStringView::QAnyStringView<
         ↪ const QChar *, true>' requested here
           685 |     QCOMPARE(QAnyStringView(null).size(), qsizetype(0));
               |              ^
         /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/qtbase/6.7.2/git/tests/auto/corelib/text/qanystringview/tst_qanystringview.cpp:344:9: note: in instantiation of function template specialization 'tst_QAnyStringView::fromLiteral<
         ↪ QChar>' requested here
           344 |         fromLiteral(str);
               |         ^
      

      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
              timblechmann tim blechmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes