Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


Hi Luke,

can you try if casting "4" to sal_Int32 makes this better?

Regards
Samuel

Am 08.05.20 um 04:59 schrieb Luke Benes:
[CXX] toolkit/qa/cppunit/EventContainer.cxx
/core/toolkit/qa/cppunit/EventContainer.cxx:73:5: error: no matching function for call to 
'assertEquals'
     CPPUNIT_ASSERT_EQUAL(4, nEventCount);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/core/workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:333:5: note: expanded from macro 
'CPPUNIT_ASSERT_EQUAL'
   ( CPPUNIT_NS::assertEquals( (expected),              \
     ^~~~~~~~~~~~~~~~~~~~~~~~
/core/workdir/UnpackedTarball/cppunit/include/cppunit/Portability.h:107:21: note: expanded from 
macro 'CPPUNIT_NS'
# define CPPUNIT_NS CppUnit
                     ^
/core/workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:161:6: note: candidate template 
ignored: deduced conflicting types for parameter 'T' ('int' vs. 'long')
void assertEquals( const T& expected,
      ^
1 error generated.
make[1]: *** [/core/solenv/gbuild/LinkTarget.mk:306: 
/core/workdir/CxxObject/toolkit/qa/cppunit/EventContainer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:282: build] Error 2

This looks to have begun after:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4021fedf758b

Samuel,
Any idea what's wrong?

-Luke

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.