diff --git a/cattleshed-conf/compilers.py b/cattleshed-conf/compilers.py index 50b3bfc9..435ea5a5 100644 --- a/cattleshed-conf/compilers.py +++ b/cattleshed-conf/compilers.py @@ -621,6 +621,8 @@ def make_gcc(self): switches += ['c++17', 'gnu++17'] if cmpver(cv, '>=', '8.1.0'): switches += ['c++2a', 'gnu++2a'] + if cmpver(cv, '>=', '11.0.0'): + switches += ['c++2b', 'gnu++2b'] initial_checked += [switches[-1]] # pedantic