https://bugs.kde.org/show_bug.cgi?id=498058
--- Comment #4 from Fabio <fabio.l...@disroot.org> --- Nice, it is compiling fine and running with GCC but fail with Clang: [ 91%] Building CXX object tests/importers/CMakeFiles/testbansheeimporter.dir/__/__/src/importers/banshee/BansheeConfigWidget.cpp.o /home/fabio/Dev/Github/PKGBUILD-AUR_fix/a/amarok-qt6-git/src/amarok/tests/importers/TestImporterBase.cpp:404:51: error: parameter declarator cannot be qualified 404 | const QString testName( QLatin1String( QTest::currentDataTag() ) ); | ~~~~~~~^ /home/fabio/Dev/Github/PKGBUILD-AUR_fix/a/amarok-qt6-git/src/amarok/tests/importers/TestImporterBase.cpp:404:27: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse] 404 | const QString testName( QLatin1String( QTest::currentDataTag() ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fabio/Dev/Github/PKGBUILD-AUR_fix/a/amarok-qt6-git/src/amarok/tests/importers/TestImporterBase.cpp:404:29: note: add a pair of parentheses to declare a variable 404 | const QString testName( QLatin1String( QTest::currentDataTag() ) ); | ^ | ( ) /home/fabio/Dev/Github/PKGBUILD-AUR_fix/a/amarok-qt6-git/src/amarok/tests/importers/TestImporterBase.cpp:406:37: error: reference to type 'const QString' could not bind to an lvalue of type 'const QString (QLatin1String ((*)()))' 406 | QVERIFY( trackForName.contains( testName ) ); | ^~~~~~~~ /usr/include/qt6/QtTest/qtestcase.h:60:43: note: expanded from macro 'QVERIFY' 60 | if (!QTest::qVerify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__))\ | ^~~~~~~~~ /usr/include/qt6/QtCore/qmap.h:342:30: note: passing argument to parameter 'key' here 342 | bool contains(const Key &key) const | ^ /home/fabio/Dev/Github/PKGBUILD-AUR_fix/a/amarok-qt6-git/src/amarok/tests/importers/TestImporterBase.cpp:408:49: error: reference to type 'const QString' could not bind to an lvalue of type 'const QString (QLatin1String ((*)()))' 408 | const TrackPtr &track = trackForName.value( testName ); | ^~~~~~~~ /usr/include/qt6/QtCore/qmap.h:358:24: note: passing argument to parameter 'key' here 358 | T value(const Key &key, const T &defaultValue = T()) const | ^ 1 warning generated. [ 91%] Linking CXX executable ../../../../../bin/testsqlartist -- You are receiving this mail because: You are watching all bug changes.