<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I've been testing Clang trunk against various projects and am
    testing against Poppler.<br>
    <br>
    It hangs on the check_fonts section of code:<br>
    <br>
    Here is the output:<br>
    <br>
    The build is extremely noisy but the fatal error section that kills
    the build is as follows:<br>
    <br>
    [ 74%] Building CXX object
    qt4/tests/CMakeFiles/check_fonts.dir/check_fonts.cpp.o<br>
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:229:14:
    warning:           <br>
          'scanForFonts' is deprecated [-Wdeprecated-declarations]<br>
            doc-&gt;scanForFonts( 1, &amp;listOfFonts2 );<br>
                 ^<br>
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:237:14:
    warning:           <br>
          'scanForFonts' is deprecated [-Wdeprecated-declarations]<br>
            doc-&gt;scanForFonts( 1, &amp;listOfFonts3 );<br>
                 ^<br>
    In file included from
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:  
    <br>
    In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
    In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
    In file included from
    /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
    In file included from /usr/include/qt4/QtCore/qobject.h:50:<br>
    /usr/include/qt4/QtCore/qlist.h:732:22: error: invalid operands to
    binary expression ('Poppler::FontInfo' and<br>
          'Poppler::FontInfo')<br>
            if (!(i-&gt;t() == li-&gt;t()))<br>
                  ~~~~~~ ^  ~~~~~~~<br>
    In file included from
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:  
    <br>
    In file included from /usr/include/qt4/QtTest/QtTest:7:<br>
    In file included from /usr/include/qt4/QtTest/qtest.h:46:<br>
    /usr/include/qt4/QtTest/qtestcase.h:176:20: note: in instantiation
    of member function<br>
          'QList&lt;Poppler::FontInfo&gt;::operator==' requested here<br>
            return (t1 == t2)<br>
                       ^<br>
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:198:5:
    note: in            <br>
          instantiation of function template specialization
    'QTest::qCompare&lt;QList&lt;Poppler::FontInfo&gt; &gt;' requested<br>
          here<br>
        QCOMPARE( listOfFonts, listOfFonts2 );<br>
        ^<br>
    In file included from
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:  
    <br>
    In file included from /usr/include/qt4/QtTest/QtTest:7:<br>
    In file included from /usr/include/qt4/QtTest/qtest.h:46:<br>
    /usr/include/qt4/QtTest/qtestcase.h:81:10: note: instantiated from:<br>
        if (!QTest::qCompare(actual, expected, #actual, #expected,
    __FILE__, __LINE__))\<br>
             ^<br>
    In file included from
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:  
    <br>
    In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
    In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
    In file included from
    /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
    In file included from /usr/include/qt4/QtCore/qobject.h:47:<br>
    In file included from /usr/include/qt4/QtCore/qobjectdefs.h:45:<br>
    In file included from /usr/include/qt4/QtCore/qnamespace.h:45:<br>
    /usr/include/qt4/QtCore/qglobal.h:1886:13: note: candidate function
    not viable: no known conversion from<br>
          'Poppler::FontInfo' to 'QBool' for 1st argument<br>
    inline bool operator==(QBool b1, bool b2) { return !b1 == !b2; }<br>
                ^<br>
    /usr/include/qt4/QtCore/qglobal.h:1887:13: note: candidate function
    not viable: no known conversion from          <br>
          'Poppler::FontInfo' to 'bool' for 1st argument<br>
    inline bool operator==(bool b1, QBool b2) { return !b1 == !b2; }<br>
                ^<br>
    /usr/include/qt4/QtCore/qglobal.h:1888:13: note: candidate function
    not viable: no known conversion from          <br>
          'Poppler::FontInfo' to 'QBool' for 1st argument<br>
    inline bool operator==(QBool b1, QBool b2) { return !b1 == !b2; }<br>
                ^<br>
    In file included from
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:  
    <br>
    In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
    In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
    In file included from
    /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
    In file included from /usr/include/qt4/QtCore/qobject.h:48:<br>
    In file included from /usr/include/qt4/QtCore/qstring.h:45:<br>
    /usr/include/qt4/QtCore/qchar.h:386:13: note: candidate function not
    viable: no known conversion from<br>
          'Poppler::FontInfo' to 'QChar' for 1st argument<br>
    inline bool operator==(QChar c1, QChar c2) { return c1.unicode() ==
    c2.unicode(); }<br>
                ^<br>
    In file included from
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:  
    <br>
    In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
    In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
    In file included from
    /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
    In file included from /usr/include/qt4/QtCore/qobject.h:48:<br>
    In file included from /usr/include/qt4/QtCore/qstring.h:46:<br>
    /usr/include/qt4/QtCore/qbytearray.h:509:13: note: candidate
    function not viable: no known conversion from<br>
          'Poppler::FontInfo' to 'const QByteArray' for 1st argument<br>
    inline bool operator==(const QByteArray &amp;a1, const QByteArray
    &amp;a2)<br>
                ^<br>
    /usr/include/qt4/QtCore/qbytearray.h:511:13: note: candidate
    function not viable: no known conversion from        <br>
          'Poppler::FontInfo' to 'const QByteArray' for 1st argument<br>
    inline bool operator==(const QByteArray &amp;a1, const char *a2)<br>
                ^<br>
    /usr/include/qt4/QtCore/qbytearray.h:513:13: note: candidate
    function not viable: no known conversion from        <br>
          'Poppler::FontInfo' to 'const char *' for 1st argument<br>
    inline bool operator==(const char *a1, const QByteArray &amp;a2)<br>
                ^<br>
    In file included from
    /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/check_fonts.cpp:1:  
    <br>
    In file included from /usr/include/qt4/QtTest/QtTest:3:<br>
    In file included from /usr/include/qt4/QtCore/QtCore:3:<br>
    In file included from
    /usr/include/qt4/QtCore/qabstractanimation.h:45:<br>
    In file included from /usr/include/qt4/QtCore/qobject.h:48:<br>
    /usr/include/qt4/QtCore/qstring.h:909:13: note: candidate function
    not viable: no known conversion from<br>
          'Poppler::FontInfo' to 'QString::Null' for 1st argument<br>
    inline bool operator==(QString::Null, QString::Null) { return true;
    }<br>
                ^<br>
    /usr/include/qt4/QtCore/qstring.h:910:13: note: candidate function
    not viable: no known conversion from           <br>
          'Poppler::FontInfo' to 'QString::Null' for 1st argument<br>
    inline bool operator==(QString::Null, const QString &amp;s) { return
    s.isNull(); }<br>
                ^<br>
    /usr/include/qt4/QtCore/qstring.h:911:13: note: candidate function
    not viable: no known conversion from           <br>
          'Poppler::FontInfo' to 'const QString' for 1st argument<br>
    inline bool operator==(const QString &amp;s, QString::Null) { return
    s.isNull(); }<br>
                ^<br>
    /usr/include/qt4/QtCore/qstring.h:937:32: note: candidate function
    not viable: no known conversion from           <br>
          'Poppler::FontInfo' to 'const char *' for 1st argument<br>
    inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const
    QString &amp;s2)<br>
                                   ^<br>
    /usr/include/qt4/QtCore/qstring.h:950:32: note: candidate function
    not viable: no known conversion from           <br>
          'Poppler::FontInfo' to 'const char *' for 1st argument<br>
    inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const
    QLatin1String &amp;s2)<br>
                                   ^<br>
    /usr/include/qt4/QtCore/qstring.h:963:13: note: candidate function
    not viable: no known conversion from           <br>
          'Poppler::FontInfo' to 'const QLatin1String' for 1st argument<br>
    inline bool operator==(const QLatin1String &amp;s1, const
    QLatin1String &amp;s2)<br>
                ^<br>
    /usr/include/qt4/QtCore/qstring.h:1171:20: note: candidate function
    not viable: no known conversion from          <br>
          'Poppler::FontInfo' to 'const QStringRef' for 1st argument<br>
    Q_CORE_EXPORT bool operator==(const QStringRef &amp;s1,const
    QStringRef &amp;s2);<br>
                       ^<br>
    /usr/include/qt4/QtCore/qstring.h:1174:20: note: candidate function
    not viable: no known conversion from          <br>
          'Poppler::FontInfo' to 'const QString' for 1st argument<br>
    Q_CORE_EXPORT bool operator==(const QString &amp;s1,const QStringRef
    &amp;s2);<br>
                       ^<br>
    /usr/include/qt4/QtCore/qstring.h:1177:13: note: candidate function
    not viable: no known conversion from          <br>
          'Poppler::FontInfo' to 'const QStringRef' for 1st argument<br>
    inline bool operator==(const QStringRef &amp;s1,const QString
    &amp;s2)<br>
                ^<br>
    /usr/include/qt4/QtCore/qstring.h:1181:20: note: candidate function
    not viable: no known conversion from          <br>
          'Poppler::FontInfo' to 'const QLatin1String' for 1st argument<br>
    Q_CORE_EXPORT bool operator==(const QLatin1String &amp;s1, const
    QStringRef &amp;s2);<br>
                       ^<br>
    /usr/include/qt4/QtCore/qstring.h:1184:13: note: candidate function
    not viable: no known conversion from          <br>
          'Poppler::FontInfo' to 'const QStringRef' for 1st argument<br>
    inline bool operator==(const QStringRef &amp;s1,const QLatin1String
    &amp;s2)<br>
                ^<br>
    /usr/include/qt4/QtCore/qstring.h:1205:32: note: candidate function
    not viable: no known conversion from          <br>
          'Poppler::FontInfo' to 'const char *' for 1st argument<br>
    inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const
    QStringRef &amp;s2)<br>
                                   ^<br>
    /usr/include/qt4/QtCore/qstring.h:1207:32: note: candidate function
    not viable: no known conversion from          <br>
          'Poppler::FontInfo' to 'const QStringRef' for 1st argument<br>
    inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &amp;s1,
    const char *s2)<br>
                                   ^<br>
    2 warnings and 1 error
    generated.                                                                                
    <br>
    make[2]: ***
    [qt4/tests/CMakeFiles/check_fonts.dir/check_fonts.cpp.o] Error 1<br>
    make[1]: *** [qt4/tests/CMakeFiles/check_fonts.dir/all] Error 2<br>
    make: *** [all] Error 2<br>
mdriftmeyer@horus:~/DeveloperProjects/QtProjects/Poppler/cmake-llvm-trunk$<br>
    <br>
    -----------------------------------------<br>
    <br>
    Is this an expected outcome?<br>
    <br>
    Sincerely Yours,<br>
    <br>
    Marc J. Driftmeyer<br>
    <br>
    <div class="moz-signature">-- <br>
      Marc J. Driftmeyer<br>
      Email :: <a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a><br>
      Web :: <a href="http://www.reanimality.com">http://www.reanimality.com</a><br>
      Cell :: (509) 435-5212
    </div>
  </body>
</html>