Tweaking lib/symbols for XML entities
Pavel Sanda
sanda at lyx.org
Fri Jun 12 21:28:52 UTC 2020
On Fri, Jun 12, 2020 at 01:15:19PM +0200, Pavel Sanda wrote:
For this part, the attached patch seem to help with autotools.
> CXX dummy_impl.o
> CXXLD tex2lyx
> dummy_impl.o: In function `lyx::xml::StartTag::StartTag(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /home/lyx/devel/src/tex2lyx/../../src/xml.h:164: undefined reference to `vtable for lyx::xml::StartTag'
> dummy_impl.o: In function `lyx::xml::StartTag::~StartTag()':
> /home/lyx/devel/src/tex2lyx/../../src/xml.h:180: undefined reference to `vtable for lyx::xml::StartTag'
> dummy_impl.o: In function `lyx::xml::StartTag::~StartTag()':
> /home/lyx/devel/src/tex2lyx/../../src/xml.h:180: undefined reference to `vtable for lyx::xml::StartTag'
> ../Layout.o: In function `lyx::xml::StartTag::StartTag(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
> /home/lyx/devel/src/xml.h:164: undefined reference to `vtable for lyx::xml::StartTag'
> collect2: error: ld returned 1 exit status
> Makefile:630: recipe for target 'tex2lyx' failed
> make[4]: *** [tex2lyx] Error 1
>
>
> Pavel
-------------- next part --------------
diff --git a/src/tex2lyx/dummy_impl.cpp b/src/tex2lyx/dummy_impl.cpp
index c850cd97c1..2dde13d348 100644
@@ -106,6 +106,11 @@ string alignmentToCSS(LyXAlignment)
return string();
}
+namespace xml {
+docstring StartTag::writeTag() const { return docstring();};
+docstring StartTag::writeEndTag() const {return docstring();};
+bool StartTag::operator==(FontTag const & rhs) const {return rhs == *this;};
+}
//
// Keep the linker happy on Windows
More information about the lyx-devel
mailing list