From 045ebc129a60421fb98ef28811248dd7c2f4df8e Mon Sep 17 00:00:00 2001 From: James Swent Date: Mon, 18 May 2026 11:44:53 +0100 Subject: [PATCH] chore: require c++17 standard for libsemigroups --- README.md | 2 +- configure.ac | 2 +- doc/z-chap02.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fc0a8df55..323f2c313 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Both [orb][] and [Semigroups][] perform better when [orb][] is compiled, so comp * from version 3.0.0, it is necessary to compile the [Semigroups][] package. [Semigroups][] uses the [libsemigroups][] C++ library, which requires a compiler - implementing the C++14 standard. + implementing the C++17 standard. You may either build [libsemigroups][] along with [Semigroups][], or have it installed at a custom or standard location, as explained in its diff --git a/configure.ac b/configure.ac index 20c7919a6..a9445e189 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ dnl ## AC_PROG_CXX AC_LANG([C++]) -AX_CXX_COMPILE_STDCXX_14(,[mandatory]) +AX_CXX_COMPILE_STDCXX([17],,[mandatory]) dnl compiler builtins AC_DEFUN([CHECK_COMPILER_BUILTIN], diff --git a/doc/z-chap02.xml b/doc/z-chap02.xml index ce16d79f9..9bca96fb7 100644 --- a/doc/z-chap02.xml +++ b/doc/z-chap02.xml @@ -71,7 +71,7 @@ https://libsemigroups.github.io/libsemigroups/ - C++ library, which requires a compiler implementing the C++14 standard. + C++ library, which requires a compiler implementing the C++17 standard. Inside the pkg/semigroups-&VERSION; directory, in your terminal type