From 91a360472f50cf58edeaf7a05a9a511dc9a5718b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 3 Dec 2020 19:44:44 +0100 Subject: [PATCH] At least Clang 12 trunk understands -std=c++2b now ...since "[c++2b] Add option -std=c++2b to enable support for potential C++2b features." Change-Id: I56b689c740c4269fa5ee29976ed8b0c17a04e6a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107175 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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