Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Some future release
-
None
-
-
ab05e05f6 (dev), fce7a4526 (6.8), 024fdcd0c (6.7), b387537d3 (dev), fbfec48c4 (6.8), 06055fe93 (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
- clones
-
QTBUG-122753 Qt Multimedia: implicit instantiation of undefined template 'std::char_traits<unsigned char>' (libc++ 19 / musl libc / amd64)
- Closed
- relates to
-
QTBUG-128325 tst_qbytearrayview test gives deprecated warnings at compilation
- Closed