[Libreoffice-commits] core.git: configure.ac

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 15 09:03:14 UTC 2021


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

New commits:
commit c18e5fd7d6c85d4755f1a70d97336d07b2add510
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Mar 12 14:24:33 2021 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Mar 15 10:02:31 2021 +0100

    GCC trunk already calls it C++23
    
    ...since
    <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=78739c2df788ee5c868d998a6333d453317d8711>
    "c++: Add support for -std=c++23"
    
    Change-Id: I28e345b4130f04eb37a1acb736a4ccbf2f577451
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112392
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/configure.ac b/configure.ac
index 90b0cf01633b..fece7f768759 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7055,7 +7055,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++2b -std=c++20 -std=c++2a $my_flags"
+        my_flags="-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


More information about the Libreoffice-commits mailing list