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

Albert Astals Cid aacid at kde.org
Fri Feb 25 00:34:12 PST 2011


A Divendres, 25 de febrer de 2011, Marc J. Driftmeyer va escriure:
> 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/chec
> k_fonts.cpp:229:14: warning:

That's a deprecated warning that is totally harmless

> In file included from
> /home/mdriftmeyer/DeveloperProjects/QtProjects/Poppler/trunk/qt4/tests/chec
> k_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()))
>                ~~~~~~ ^  ~~~~~~~

That seems like a clang error to me in not being able to use

bool operator==( const Poppler::FontInfo &f1, const Poppler::FontInfo &f2 )

defined in qt4/tests/check_fonts.cpp:35

Albert

> 
> -----------------------------------------
> 
> Is this an expected outcome?
> 
> Sincerely Yours,
> 
> Marc J. Driftmeyer


More information about the poppler mailing list