diff --git a/configure.ac b/configure.ac index e5110cf1e8d7..e7ad75620e59 100644 --- a/configure.ac +++ b/configure.ac @@ -7529,7 +7529,7 @@ if test -z "${CXXFLAGS_CXX11+x}"; 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++23 -std=c++2b -std=c++20 -std=c++2a $my_flags" + my_flags="-std=c++26 -std=c++2c -std=c++23 -std=c++2b -std=c++20 -std=c++2a $my_flags" fi for flag in $my_flags; do if test "$COM" = MSC; then