Advanced find does not search in deactivated branches
Kornel Benko
kornel at lyx.org
Sat Apr 2 15:07:34 UTC 2022
Am Sat, 2 Apr 2022 10:49:17 -0400
schrieb Scott Kostyshak <skostysh at lyx.org>:
> On Sat, Apr 02, 2022 at 12:22:44PM +0200, Kornel Benko wrote:
> > Am Sat, 02 Apr 2022 12:06:12 +0200
> > schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> >
> > > Am Samstag, dem 02.04.2022 um 11:57 +0200 schrieb Jürgen Spitzmüller:
> > > > I'll have a look.
> > >
> > > Better?
> > >
> > > Jürgen
> >
> > Definitely better. Thanks.
>
> On current master I get the following:
>
> /home/scott/lyxbuilds/master/repo/src/lyxfind.cpp: In member function ‘std::string
> lyx::{anonymous}::MatchStringAdv::normalize(const docstring&, bool)
> const’: /home/scott/lyxbuilds/master/repo/src/lyxfind.cpp:3868:42: error: comparison of
> integer expressions of different signedness:
> ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and
> ‘int’ [-Werror=sign-compare] 3868 | while ((t.size() > 1 +
> count) && (t[t.size() - 1 - count] == '%')) |
> ~~~~~~~~~^~~~~~~~~~~ /home/scott/lyxbuilds/master/repo/src/lyxfind.cpp:3896:45: error:
> comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned
> int’} and ‘int’ [-Werror=sign-compare] 3896 | while
> ((pos > count + 1) && (t[pos - 1 -count] == '%'))
> { | ~~~~^~~~~~~~~~~ cc1plus: all warnings being
> treated as errors
>
>
> By the way, thanks to you two for this recent work. I look forward to
> using this feature!
Thanks. The test under hard pressure will be appreciated.
> Scott
Should be corrected.
Kornel
--
lyx-devel mailing list
lyx-devel at lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel
-------------- 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/20220402/28ef0b35/attachment.asc>
More information about the lyx-devel
mailing list