From b956b9d1aa27ac71432839e286f3db0a19aebf6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Sat, 17 Mar 2018 17:33:10 +0100 Subject: Re-apply "C++17" This reverts commit 86f275e111d2fb18a2b55b87fd4e54a06d852816. --- CMakeLists.txt | 2 +- INSTALL.rst | 2 +- README.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b3f292..898e03a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ find_library(LIBUBSAN NAMES ubsan libubsan.so.0) # ## Set various debug flags (instrumentation libs, coverage, …) # -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -pedantic -Wall -Wextra -Wconversion -fvisibility=hidden -fvisibility-inlines-hidden") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1z -pedantic -Wall -Wextra -Wconversion -fvisibility=hidden -fvisibility-inlines-hidden") if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fprofile-arcs -ftest-coverage --coverage") endif() diff --git a/INSTALL.rst b/INSTALL.rst index 45a860d..1411e33 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -16,7 +16,7 @@ Build and runtime dependencies: Tools: ~~~~~~ -- A C++14 compiler (clang >= 3.4 or gcc >= 5.0 for example) +- A C++17 compiler (clang >= 4.0 or gcc >= 7.0 for example) - CMake - pandoc (optional) to build the man page diff --git a/README.rst b/README.rst index 8a03701..6522efa 100644 --- a/README.rst +++ b/README.rst @@ -14,7 +14,7 @@ Biboumi is an XMPP gateway that connects to IRC servers and translates between the two protocols. It can be used to access IRC channels using any XMPP client as if these channels were XMPP MUCs. -It is written in modern C++14 and makes great efforts to have as little +It is written in modern C++17 and makes great efforts to have as little dependencies and to be as simple as possible. The goal is to provide a way to access most of IRC features using any XMPP -- cgit v1.2.3