Compilation warning from docbook code

Thibaut Cuvelier dourouc05 at gmail.com
Mon Jun 29 23:55:41 UTC 2020


On Mon, 29 Jun 2020 at 20:58, Scott Kostyshak <skostysh at lyx.org> wrote:

> On Mon, Jun 29, 2020 at 05:36:52PM +0200, Pavel Sanda wrote:
> > On Mon, Jun 29, 2020 at 10:48:04AM -0400, Scott Kostyshak wrote:
> > > I get the following warning on current master:
> > >
> > >   [ 93%] Building CXX object
> src/CMakeFiles/lyx.dir/output_docbook.cpp.o
> > >   44:19: warning: ???const string
> lyx::{anonymous}::fontToDocBookTag(lyx::xml::FontTypes)??? defined but not
> used [-Wunused-function]
> > >      44 | std::string const fontToDocBookTag(xml::FontTypes type) {
> > >         |                   ^~~~~~~~~~~~~~~~
> > >
> > > By the way, thanks to Thibaut and Pavel for the work.
> >
> > I would not worry about those until the whole codebase is imported. P
>

Actually, this code has been committed too soon, it will be used later on
(in the largest patch of the series). I guess some rebase didn't work 100%
as expected :).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200630/a01cc038/attachment.html>


More information about the lyx-devel mailing list