Compile warnings with docbook

Thibaut Cuvelier tcuvelier at lyx.org
Fri Sep 24 07:34:36 UTC 2021


On Fri, 24 Sept 2021 at 09:23, Kornel Benko <kornel at lyx.org> wrote:

> Am Fri, 24 Sep 2021 01:23:50 +0200
> schrieb Thibaut Cuvelier <tcuvelier at lyx.org>:
>
> > Hi Kornel,
> >
> > Thanks for pointing these out, they didn't show on my side. I could quite
> > easily fix the one about the unused argument in the constructor (it's
> > already pushed: dca39815), but I don't know what to do for the others.
> > Maybe the attached patch solves the rest of the warnings?
> >
> > On Fri, 24 Sept 2021 at 00:55, Kornel Benko <kornel at lyx.org> wrote:
> >
> > >
> > > See attached.
> > >
> > >         Kornel
> > > --
> > > lyx-devel mailing list
> > > lyx-devel at lists.lyx.org
> > > http://lists.lyx.org/mailman/listinfo/lyx-devel
> > >
>
> No, it does not help. Instead the number of similar warnings doubles.
>
> From:   lyx::Floating::docbook_tag_type_’ will be initialized after
>
> to:     lyx::Floating::docbook_tag_type_’ will be initialized after
>         lyx::Floating::docbook_float_type_’ will be initialized after
>
> But with the attached there are no warnings.
>

It shouldn't either with MSVC; do you want to push this patch? (I won't be
able to do it before tonight.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210924/18f7e1ef/attachment.html>


More information about the lyx-devel mailing list