Am Freitag, 24. Februar 2017 um 15:16:48, schrieb Jean-Marc Lasgouttes 
<lasgout...@lyx.org>
> Le 24/02/2017 à 11:54, Kornel Benko a écrit :
> >> I tried to bisect, but to my surprise could not find the associated commit.
> >> The only difference was that for bisecting I used another compiler (gcc 
> >> 4.8.4),
> >> while I otherwise use the version 6.1.0.
> >>
> >> So I rebuild lyx with gcc4.8, the error is gone.
> >>
> >> Now trying with gcc5.3 ... error.
> >>
> >> What are the differences between gcc5.3, 6.1 and 4.8?
> >> gcc4.8     Compiler does not support std_regex, flag = "--std=c++11"
> >> gcc5.3     Compiler supports std_regex, flag = "--std=c++14"
> >> gcc6.1     Compiler supports std_regex, flag = "--std=c++14"
> 
> What would be nice is to understand what is the regex:es features  that 
> are different between std::regex and boost:regex.
> 
> JMarc

Little net-search gives for example:
http://stackoverflow.com/questions/13526884/inconsistency-between-boostregex-and-stdregex
http://stackoverflow.com/questions/7589672/boost-regex-vs-c11-regex
http://stackoverflow.com/questions/26696250/difference-between-stdregex-match-stdregex-search

Citing from the first url:
        gcc of course doesn't support the tr1/c++11 regex, but to give a more 
general answer,
        boost.regex's default is perl 5, according to its documentation, while 
C++ default is
        ECMAScript, extended by several locale-dependent elements of POSIX BRE.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to