Am Freitag, 24. Februar 2017 um 13:23:44, schrieb José Abílio Matos <jama...@lyx.org> > On Tuesday, September 27, 2016 1:12:49 PM WET Kornel Benko wrote: > > 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" > > > > Kornel > > According to https://gcc.gnu.org/gcc-4.9/changes.html <regex> was introduced > in 4.9. > > And, as you probably know, gcc 6.1 defaults to --std=c++14, so this is not > necessary. >
We (in cmake) try to use the best possible std-flag. We don't care about the compiler version for determining it. Even if it is default, the use is not dangerous. But the underlying problem for regex is the different behaviour in boost and gcc, which we do not fully respect. For peoples using never compiler this makes the regex searches problematic. Kornel
signature.asc
Description: This is a digitally signed message part.