Advanced find does not search in deactivated branches

Scott Kostyshak skostysh at lyx.org
Sat Apr 2 14:49:17 UTC 2022


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!

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220402/e085a5ed/attachment-0001.asc>


More information about the lyx-devel mailing list