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. -- José Abílio