Tweaking lib/symbols for XML entities

Kornel Benko kornel at lyx.org
Sun Jun 14 20:12:31 UTC 2020


Am Sun, 14 Jun 2020 21:37:12 +0200
schrieb Pavel Sanda <sanda at lyx.org>:

> On Sat, Jun 13, 2020 at 02:39:18PM +0200, Kornel Benko wrote:
> > > 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:  
> 
> Can you try to import my patch into dummy_functions.cpp ?
> Pavel

Works, if inserted also
	#include "xml.h"
into src/tests/dummy_functions.cpp.

(Without the include I got:
/usr2/src/lyx/lyx-test/src/tests/dummy_functions.cpp:53:11: error: ‘StartTag’ has
not been declared docstring StartTag::writeTag() const { return docstring();};
           ^~~~~~~~
/usr2/src/lyx/lyx-test/src/tests/dummy_functions.cpp:53:32: error: non-member function
‘lyx::docstring lyx::xml::writeTag()’ cannot have cv-qualifier docstring
StartTag::writeTag() const { return docstring();}; ^~~~~
...
)

	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/20200614/0275d79f/attachment.asc>


More information about the lyx-devel mailing list