configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 91a360472f50cf58edeaf7a05a9a511dc9a5718b Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Dec 3 19:44:44 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Dec 3 20:45:52 2020 +0100
At least Clang 12 trunk understands -std=c++2b now ...since <https://github.com/llvm/llvm-project/commit/ 6627a3c2873fdf7ccba1a1573371079be48b36e8> "[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 <sberg...@redhat.com> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits