configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 511f4f785e6137dda2589e660dc2f1953c914dfd
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue May 16 12:16:00 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue May 16 14:47:12 2023 +0200

    Make --with-latest-c++ support future C++26
    
    ...as already supported by
    
<https://github.com/llvm/llvm-project/commit/b763d6a4ed4650c74c6846d743156468563b0e31>
    "Add C++26 compile flags."
    
    Change-Id: I0e7b55138222c0f0a81d4aec9a20da7922c51df2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151825
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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

Reply via email to