[scribus-dev] [documentliberation-discuss] ANNOUNCE: librevenge 0.0.0 has been released

David Tardon dtardon at redhat.com
Fri May 23 19:29:38 UTC 2014


Hi,

On Fri, May 23, 2014 at 08:37:30PM +0200, Andreas Radke wrote:
> while building our packages the test suite fails for 32bit (64bit
> builds well):
> 
> RVNGBinaryDataTest.cpp:104:2: error: no matching function for call to 'assertEquals(const size_t&, long unsigned int, CppUnit::SourceLine, const char [1])'
>   CPPUNIT_ASSERT_EQUAL(len, data.size());
>   ^

Sigh. CPPUNIT_ASSERT_EQUAL is more pain than it is worth... Just replace
that line by either

CPPUNIT_ASSERT_EQUAL(static_cast<unsigned long>(len), data.size());

or

CPPUNIT_ASSERT(len == data.size());

D.



More information about the scribus-dev mailing list