diff --git a/configure.ac b/configure.ac index 3f418e27bb10..bc71599f53c8 100644 --- a/configure.ac +++ b/configure.ac @@ -7042,7 +7042,7 @@ if test "$COM" = MSC -a "$COM_IS_CLANG" != TRUE; then elif test "$GCC" = "yes" -o "$COM_IS_CLANG" = TRUE; then my_flags='-std=c++17 -std=c++1z' if test "$with_latest_c__" = yes; then - my_flags="-std=c++20 -std=c++2a $my_flags" + my_flags="-std=c++2b -std=c++20 -std=c++2a $my_flags" fi for flag in $my_flags; do if test "$COM" = MSC; then