[LyX/master] Fix bug #12772
Kornel Benko
kornel at lyx.org
Sun May 28 08:17:30 UTC 2023
Am Sat, 27 May 2023 12:37:46 -0400
schrieb Richard Kimberly Heck <rikiheck at gmail.com>:
> On 5/27/23 02:57, Kornel Benko wrote:
> > Am Sat, 27 May 2023 04:30:16 +0200 (CEST)
> > schrieb Richard Kimberly Heck <rikiheck at lyx.org>:
> >
> >> commit 4ed0312c51704780af1c452d3a82a84171b3725a
> >> Author: Daniel Ramoeller <d.lyx at web.de>
> >> Date: Fri May 26 23:38:16 2023 -0400
> >>
> >> Fix bug #12772
> >> ---
> > I get here
> > /usr2/src/lyx/lyx-git/src/Text.cpp: In member function ‘void
> > lyx::Text::dispatch(lyx::Cursor&, lyx::FuncRequest&)’:
> > /usr2/src/lyx/lyx-git/src/Text.cpp:5399:45: warning: unknown escape sequence: '\.'
> > 5399 | regex const link_re("^(([a-z]+):|www\.).*");
> > ^~~~~~~~~~~~~~~~~~~~~~
> >
> > You probably meant
> > regex const link_re("^(([a-z]+):|www\\.).*");
>
> Thanks. Odd I didn't see the warning.
>
> Riki
>
>
Maybe some gcc settings?
Here it is (among others)
g++-12
--std=c++20 ...
-Wall
which includes -Wformat.
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/20230528/bc191bd2/attachment.asc>
More information about the lyx-devel
mailing list