Problem with /core/sc/qa/unit/helper/qahelper.cxx
Regina Henschel
rb.henschel at t-online.de
Thu Nov 12 19:02:27 UTC 2020
Hi all,
with current master and make sc.check I get the error
D:/Build_forCommit/core/sc/qa/unit/helper/qahelper.cxx(192): error
C2672: 'CppUnit::assertEquals': no matching overloade
d function found
D:/Build_forCommit/core/sc/qa/unit/helper/qahelper.cxx(192): error
C2782: 'void CppUnit::assertEquals(const T &,const T
&,CppUnit::SourceLine,const std::string &)': template parameter 'T' is
ambiguous
D:\build_forCommit\core\workdir\UnpackedTarball\cppunit\include\cppunit/TestAssert.h(161):
note: see declaration of 'Cpp
Unit::assertEquals'
D:/Build_forCommit/core/sc/qa/unit/helper/qahelper.cxx(192): note: could
be 'tools::Long'
D:/Build_forCommit/core/sc/qa/unit/helper/qahelper.cxx(192): note: or
'long'
D:/Build_forCommit/core/sc/qa/unit/helper/qahelper.cxx(192): error
C2784: 'void CppUnit::assertEquals(const T &,const T
&,CppUnit::SourceLine,const std::string &)': could not deduce template
argument for 'const T &' from 'tools::Long'
D:\build_forCommit\core\workdir\UnpackedTarball\cppunit\include\cppunit/TestAssert.h(161):
note: see declaration of 'Cpp
Unit::assertEquals'
The line #192 is
CPPUNIT_ASSERT_EQUAL_MESSAGE("font size should be 10", 200l,
aFont.GetFontSize().getHeight());
Same problems in /sc/qa/unit/ucalc_pivottable.cxx. I have not tested
further. Do I need to make a "clean" build or what else?
Kind regards
Regina
More information about the LibreOffice
mailing list