Hello zyx, if I am not confusing it for something else, it seems we actually received a proper patch for this issue as a pull request[1] some time ago. I would be glad to just merge it but at the moment it would be a blind merge on my side. If you confirm it working I will just merge it, or ask Dominik for repo permissions.
Cheers, Francesco [1] https://github.com/podofo/podofo/pull/5 On Tue, 29 Nov 2022 at 07:58, zyx <z...@gmx.us> wrote: > Hi, > while I've been replying to a private request derived from a public > thread (who likes these?), I realized I cannot build PoDoFo at > r2063 anymore, due to: > > In file included from /usr/include/cppunit/TestAssert.h:8, > from /usr/include/cppunit/TestCase.h:6, > from /usr/include/cppunit/TestCaller.h:5, > from /usr/include/cppunit/extensions/HelperMacros.h:9, > from .../podofo/trunk/test/unit/StringTest.h:24, > from .../podofo/trunk/test/unit/StringTest.cpp:21: > /usr/include/cppunit/tools/StringHelper.h: In instantiation of > ‘typename std::enable_if<(! std::is_enum<_Tp>::value), > std::__cxx11::basic_string<char> >::type > CppUnit::StringHelper::toString(const T&) [with T = PoDoFo::PdfString; > typename std::enable_if<(! std::is_enum<_Tp>::value), > std::__cxx11::basic_string<char> >::type = > std::__cxx11::basic_string<char>]’: > /usr/include/cppunit/TestAssert.h:74:50: required from ‘static > std::string CppUnit::assertion_traits<T>::toString(const T&) [with T = > PoDoFo::PdfString; std::string = std::__cxx11::basic_string<char>]’ > /usr/include/cppunit/TestAssert.h:168:58: required from ‘void > CppUnit::assertEquals(const T&, const T&, SourceLine, const > std::string&) [with T = PoDoFo::PdfString; std::string = > std::__cxx11::basic_string<char>]’ > .../podofo/trunk/test/unit/StringTest.cpp:182:5: required from here > /usr/include/cppunit/tools/StringHelper.h:25:9: error: no match for > ‘operator<<’ (operand types are ‘CppUnit::OStringStream’ {aka > ‘std::__cxx11::basic_ostringstream<char>’} and ‘const > PoDoFo::PdfString’) > 25 | ost << x; > | ~~~~^~~~ > > It looks like there's missing some operator definition. I did not look > any deeper on this. I'm not sure whether it would make any sense, if > the pdfmm project is supposed to be merged back soon (I did not try to > build that one). > Bye, > zyx > > > _______________________________________________ > Podofo-users mailing list > Podofo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/podofo-users >
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users