Tweaking lib/symbols for XML entities
Kornel Benko
kornel at lyx.org
Sat Jun 13 12:39:18 UTC 2020
Am Sat, 13 Jun 2020 14:36:34 +0200
schrieb Kornel Benko <kornel at lyx.org>:
> Am Sat, 13 Jun 2020 10:09:34 +0200
> schrieb Kornel Benko <kornel at lyx.org>:
>
> > Am Fri, 12 Jun 2020 13:15:19 +0200
> > schrieb Pavel Sanda <sanda at lyx.org>:
> >
> > > On Thu, Jun 11, 2020 at 06:30:22PM +0200, Thibaut Cuvelier wrote:
> > > > Yes, the output is identical. I also added some comments.
> > > >
> > > > I'm adding a third patch in this, I forgot it was necessary??? It is a
> > > > refactoring of XHTMLStream as a more generic XMLStream (required for
> > > > DocBook, and it has a few implications for MathML, but not that much).
> > >
> > > The refactoring looks reasonable, unfortunately it breaks tex2lyx here.
> > > Apart from harmless warning (which should be fixed though) linker
> > > for tex2lyx screams as new dependencies appear. Most likely doesn't
> > > appear for you because cmake links everything?
> >
> > The other possibility is that he does not create tex2lyx.
> > Under linux-cmake you can use 'make lyx' alone.
>
> Just checked, same error in cmake build for tex2lyx without Pavel's patch.
>
> With the patch it compiles.
>
> Kornel
And as expected, breaks building of check_layout:
[ 97%] Linking CXX executable ../../bin/check_layout
cd /BUILD/BUILDMint18/BuildBisectLyx/src/tests && /usr/bin/cmake -E cmake_link_script
CMakeFiles/check_layout.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wunused-parameter
--std=c++14 -fno-strict-aliasing -O0 -g3 -D_DEBUG -rdynamic
CMakeFiles/check_layout.dir/__/insets/InsetLayout.cpp.o
CMakeFiles/check_layout.dir/__/CiteEnginesList.cpp.o
CMakeFiles/check_layout.dir/__/Color.cpp.o CMakeFiles/check_layout.dir/__/Counters.cpp.o
CMakeFiles/check_layout.dir/__/Floating.cpp.o
CMakeFiles/check_layout.dir/__/FloatList.cpp.o
CMakeFiles/check_layout.dir/__/FontInfo.cpp.o CMakeFiles/check_layout.dir/__/Layout.cpp.o
CMakeFiles/check_layout.dir/__/LayoutFile.cpp.o
CMakeFiles/check_layout.dir/__/Lexer.cpp.o
CMakeFiles/check_layout.dir/__/ModuleList.cpp.o
CMakeFiles/check_layout.dir/__/Spacing.cpp.o
CMakeFiles/check_layout.dir/__/TextClass.cpp.o
CMakeFiles/check_layout.dir/check_layout.cpp.o CMakeFiles/check_layout.dir/boost.cpp.o
CMakeFiles/check_layout.dir/dummy_functions.cpp.o
-o ../../bin/check_layout ../../lib/libsupport.a -lz
-lmagic /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.9.5 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.5
CMakeFiles/check_layout.dir/__/Layout.cpp.o: In Funktion
»lyx::xml::StartTag::StartTag(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)«: /usr2/src/lyx/lyx-test/src/xml.h:164: Warnung:
undefinierter Verweis auf »vtable for lyx::xml::StartTag«
CMakeFiles/check_layout.dir/__/Layout.cpp.o: In Funktion
»lyx::xml::StartTag::~StartTag()«: /usr2/src/lyx/lyx-test/src/xml.h:180: Warnung:
undefinierter Verweis auf »vtable for lyx::xml::StartTag« collect2: error: ld returned 1
exit status src/tests/CMakeFiles/check_layout.dir/build.make:336: recipe for target
'bin/check_layout' failed make[2]: *** [bin/check_layout] Error 1 make[2]: Verzeichnis
„/BUILD/BUILDMint18/BuildBisectLyx“ wird verlassen CMakeFiles/Makefile2:1413: recipe for
target 'src/tests/CMakeFiles/check_layout.dir/all' failed make[1]: ***
[src/tests/CMakeFiles/check_layout.dir/all] Error 2 make[1]: Verzeichnis
„/BUILD/BUILDMint18/BuildBisectLyx“ wird verlassen Makefile:185: recipe for target 'all'
failed make: *** [all] Error 2
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200613/0186f2ad/attachment.asc>
More information about the lyx-devel
mailing list