Version: r.1060299 (using Devel) Compiler: Sun Studio 12 U1 OS: Solaris Installed from: Compiled sources building kdelibs fails with ... [ 47%] Building CXX object kio/tests/CMakeFiles/kdirmodeltest.dir/kdirmodeltest.o !"/home/hajma/Dashboards/kdelibs/srcdir/kio/tests/kdirmodeltest.cpp", line 218: Error: Could not find a match for QTest::qCompare<QTest::T>(const QAbstractItemModel*, KDirModel*, const char[20], const char[11], const char[66], int) needed in KDirModelTest::testIndex(). "/home/hajma/Dashboards/kdelibs/srcdir/kio/tests/kdirmodeltest.cpp", line 226: Error: Could not find a match for QTest::qCompare<QTest::T>(const QAbstractItemModel*, KDirModel*, const char[19], const char[11], const char[66], int) needed in KDirModelTest::testIndex(). "/home/hajma/Dashboards/kdelibs/srcdir/kio/tests/kdirmodeltest.cpp", line 234: Error: Could not find a match for QTest::qCompare<QTest::T>(const QAbstractItemModel*, KDirModel*, const char[25], const char[11], const char[66], int) needed in KDirModelTest::testIndex(). "/home/hajma/Dashboards/kdelibs/srcdir/kio/tests/kdirmodeltest.cpp", line 242: Error: Could not find a match for QTest::qCompare<QTest::T>(const QAbstractItemModel*, KDirModel*, const char[28], const char[11], const char[66], int) needed in KDirModelTest::testIndex(). 4 Error(s) detected. see the kde-dashboard at http://my.cdash.org/viewBuildError.php?buildid=40556
Created attachment 38939 [details] patch something like this is needed (it'll take me some time to recompile and verify it works)
Comment on attachment 38939 [details] patch this is wrong
Created attachment 38942 [details] better patch
*** Bug 218062 has been marked as a duplicate of this bug. ***
still valid in current svn
This compiler really sucks :-) OK, I don't see a better solution either, please commit your patch.
SVN commit 1115881 by pavelheimlich: idifferent types in QCOMPARE (causing failure with Sun Studio) BUG: 217958 M +4 -4 kdirmodeltest.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1115881