[poppler] Clang/Clang++ 2.9-Trunk against Poppler Trunk

Marc J. Driftmeyer mjd at reanimality.com
Thu Feb 24 16:31:20 PST 2011


I've been testing Clang trunk against various projects and am testing 
against Poppler.

It hangs on the check_fonts section of code:

Here is the output:

The build is extremely noisy but the fatal error section that kills the 
build is as follows:

[ 74%] Building CXX object 
qt4/tests/CMakeFiles/check_fonts.dir/check_fonts.cpp.o
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:229:14: 
warning:
       'scanForFonts' is deprecated [-Wdeprecated-declarations]
         doc->scanForFonts( 1, &listOfFonts2 );
              ^
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:237:14: 
warning:
       'scanForFonts' is deprecated [-Wdeprecated-declarations]
         doc->scanForFonts( 1, &listOfFonts3 );
              ^
In file included from 
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1: 

In file included from /usr/include/qt4/QtTest/QtTest:3:
In file included from /usr/include/qt4/QtCore/QtCore:3:
In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:
In file included from /usr/include/qt4/QtCore/qobject.h:50:
/usr/include/qt4/QtCore/qlist.h:732:22: error: invalid operands to 
binary expression ('Poppler::FontInfo' and
       'Poppler::FontInfo')
         if (!(i->t() == li->t()))
               ~~~~~~ ^  ~~~~~~~
In file included from 
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1: 

In file included from /usr/include/qt4/QtTest/QtTest:7:
In file included from /usr/include/qt4/QtTest/qtest.h:46:
/usr/include/qt4/QtTest/qtestcase.h:176:20: note: in instantiation of 
member function
       'QList<Poppler::FontInfo>::operator==' requested here
         return (t1 == t2)
                    ^
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:198:5: 
note: in
       instantiation of function template specialization 
'QTest::qCompare<QList<Poppler::FontInfo> >' requested
       here
     QCOMPARE( listOfFonts, listOfFonts2 );
     ^
In file included from 
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1: 

In file included from /usr/include/qt4/QtTest/QtTest:7:
In file included from /usr/include/qt4/QtTest/qtest.h:46:
/usr/include/qt4/QtTest/qtestcase.h:81:10: note: instantiated from:
     if (!QTest::qCompare(actual, expected, #actual, #expected, 
__FILE__, __LINE__))\
          ^
In file included from 
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1: 

In file included from /usr/include/qt4/QtTest/QtTest:3:
In file included from /usr/include/qt4/QtCore/QtCore:3:
In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:
In file included from /usr/include/qt4/QtCore/qobject.h:47:
In file included from /usr/include/qt4/QtCore/qobjectdefs.h:45:
In file included from /usr/include/qt4/QtCore/qnamespace.h:45:
/usr/include/qt4/QtCore/qglobal.h:1886:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'QBool' for 1st argument
inline bool operator==(QBool b1, bool b2) { return !b1 == !b2; }
             ^
/usr/include/qt4/QtCore/qglobal.h:1887:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'bool' for 1st argument
inline bool operator==(bool b1, QBool b2) { return !b1 == !b2; }
             ^
/usr/include/qt4/QtCore/qglobal.h:1888:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'QBool' for 1st argument
inline bool operator==(QBool b1, QBool b2) { return !b1 == !b2; }
             ^
In file included from 
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1: 

In file included from /usr/include/qt4/QtTest/QtTest:3:
In file included from /usr/include/qt4/QtCore/QtCore:3:
In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:
In file included from /usr/include/qt4/QtCore/qobject.h:48:
In file included from /usr/include/qt4/QtCore/qstring.h:45:
/usr/include/qt4/QtCore/qchar.h:386:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'QChar' for 1st argument
inline bool operator==(QChar c1, QChar c2) { return c1.unicode() == 
c2.unicode(); }
             ^
In file included from 
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1: 

In file included from /usr/include/qt4/QtTest/QtTest:3:
In file included from /usr/include/qt4/QtCore/QtCore:3:
In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:
In file included from /usr/include/qt4/QtCore/qobject.h:48:
In file included from /usr/include/qt4/QtCore/qstring.h:46:
/usr/include/qt4/QtCore/qbytearray.h:509:13: note: candidate function 
not viable: no known conversion from
       'Poppler::FontInfo' to 'const QByteArray' for 1st argument
inline bool operator==(const QByteArray &a1, const QByteArray &a2)
             ^
/usr/include/qt4/QtCore/qbytearray.h:511:13: note: candidate function 
not viable: no known conversion from
       'Poppler::FontInfo' to 'const QByteArray' for 1st argument
inline bool operator==(const QByteArray &a1, const char *a2)
             ^
/usr/include/qt4/QtCore/qbytearray.h:513:13: note: candidate function 
not viable: no known conversion from
       'Poppler::FontInfo' to 'const char *' for 1st argument
inline bool operator==(const char *a1, const QByteArray &a2)
             ^
In file included from 
/home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1: 

In file included from /usr/include/qt4/QtTest/QtTest:3:
In file included from /usr/include/qt4/QtCore/QtCore:3:
In file included from /usr/include/qt4/QtCore/qabstractanimation.h:45:
In file included from /usr/include/qt4/QtCore/qobject.h:48:
/usr/include/qt4/QtCore/qstring.h:909:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'QString::Null' for 1st argument
inline bool operator==(QString::Null, QString::Null) { return true; }
             ^
/usr/include/qt4/QtCore/qstring.h:910:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'QString::Null' for 1st argument
inline bool operator==(QString::Null, const QString &s) { return 
s.isNull(); }
             ^
/usr/include/qt4/QtCore/qstring.h:911:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const QString' for 1st argument
inline bool operator==(const QString &s, QString::Null) { return 
s.isNull(); }
             ^
/usr/include/qt4/QtCore/qstring.h:937:32: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const char *' for 1st argument
inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2)
                                ^
/usr/include/qt4/QtCore/qstring.h:950:32: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const char *' for 1st argument
inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const 
QLatin1String &s2)
                                ^
/usr/include/qt4/QtCore/qstring.h:963:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const QLatin1String' for 1st argument
inline bool operator==(const QLatin1String &s1, const QLatin1String &s2)
             ^
/usr/include/qt4/QtCore/qstring.h:1171:20: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const QStringRef' for 1st argument
Q_CORE_EXPORT bool operator==(const QStringRef &s1,const QStringRef &s2);
                    ^
/usr/include/qt4/QtCore/qstring.h:1174:20: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const QString' for 1st argument
Q_CORE_EXPORT bool operator==(const QString &s1,const QStringRef &s2);
                    ^
/usr/include/qt4/QtCore/qstring.h:1177:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const QStringRef' for 1st argument
inline bool operator==(const QStringRef &s1,const QString &s2)
             ^
/usr/include/qt4/QtCore/qstring.h:1181:20: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const QLatin1String' for 1st argument
Q_CORE_EXPORT bool operator==(const QLatin1String &s1, const QStringRef 
&s2);
                    ^
/usr/include/qt4/QtCore/qstring.h:1184:13: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const QStringRef' for 1st argument
inline bool operator==(const QStringRef &s1,const QLatin1String &s2)
             ^
/usr/include/qt4/QtCore/qstring.h:1205:32: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const char *' for 1st argument
inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const 
QStringRef &s2)
                                ^
/usr/include/qt4/QtCore/qstring.h:1207:32: note: candidate function not 
viable: no known conversion from
       'Poppler::FontInfo' to 'const QStringRef' for 1st argument
inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &s1, const 
char *s2)
                                ^
2 warnings and 1 error generated.
make[2]: *** [qt4/tests/CMakeFiles/check_fonts.dir/check_fonts.cpp.o] 
Error 1
make[1]: *** [qt4/tests/CMakeFiles/check_fonts.dir/all] Error 2
make: *** [all] Error 2
mdriftmeyer at horus:~/DeveloperProjects/QtProjects/Poppler/cmake-llvm-trunk$

-----------------------------------------

Is this an expected outcome?

Sincerely Yours,

Marc J. Driftmeyer

-- 
Marc J. Driftmeyer
Email :: mjd at reanimality.com <mailto:mjd at reanimality.com>
Web :: http://www.reanimality.com
Cell :: (509) 435-5212
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110224/6c334f9f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjd.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110224/6c334f9f/attachment-0001.vcf>


More information about the poppler mailing list