[LyX/master] Does not compile on older gcc.

Kornel Benko kornel at lyx.org
Fri Aug 7 11:45:34 UTC 2020


Am Tue, 4 Aug 2020 14:57:47 +0200
schrieb Pavel Sanda <sanda at lyx.org>:

> n Tue, Aug 04, 2020 at 02:30:10PM +0200, Pavel Sanda wrote:
> > commit bd5f6097fc33d24f39660c38267793f6776f6cd7
> > Author: Pavel Sanda <sanda at lyx.org>
> > Date:   Tue Aug 4 14:54:15 2020 +0200
> > 
> >     Does not compile on older gcc.  
> 
> Thibaut, you might want to check whether this still works as expected...
> 
> Pavel
> 
> > ---
> >  src/insets/InsetBibtex.cpp |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp
> > index 95c93a1..876adea 100644
> > --- a/src/insets/InsetBibtex.cpp
> > +++ b/src/insets/InsetBibtex.cpp
> > @@ -1183,8 +1183,8 @@ void InsetBibtex::docbook(XMLStream & xs, OutputParams const &)
> > const string html = to_utf8(bibinfo.getInfo(entry.key(), buffer(), ci));
> >  		regex tagRegex("<span class=\"bib-([^\"]*)\">([^<]*)</span>");
> >  		smatch match;
> > -		auto tagIt = std::sregex_iterator(html.cbegin(), html.cend(),
> > tagRegex, regex_constants::match_default);
> > -		auto tagEnd = std::sregex_iterator();
> > +		auto tagIt = lyx::sregex_iterator(html.cbegin(), html.cend(),
> > tagRegex, regex_constants::match_default);
> > +		auto tagEnd = lyx::sregex_iterator();
> >  		map<string, string> delayedTags;
> >  
> >  		// Read all tags from HTML and convert those that have a 1:1

Since he seems to be inaccessible in the next days, and he will work on own branch,
I propose you commit the patch.
There was no problem doing the same change in other sources.

	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/20200807/a0e77f85/attachment.asc>


More information about the lyx-devel mailing list