diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c0915f3..bb90b468 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,7 +153,7 @@ Please build with cmake in a subdirectory, e.g. Please remove CMakeCache.txt and the CMakeFiles directories.") endif() -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_C_VISIBILITY_PRESET hidden) diff --git a/ChangeLog b/ChangeLog index 25358ca8..96a096a8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2022-10-06 Jay Berkenbilt + + * Change minimum required C++ version from C++-14 to C++-17. + 2022-10-01 Jay Berkenbilt * 11.1.1: release diff --git a/README.md b/README.md index f768adfb..e7b2b601 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Versions of qpdf prior to version 7 were released under the terms of version 2.0 # Prerequisites -QPDF requires a C++ compiler that supports C++-14. +QPDF requires a C++ compiler that supports C++-17. To compile and link something with qpdf, you can use `pkg-config` with package name `libqpdf` or `cmake` with package name `qpdf`. Here's an example of a `CMakeLists.txt` file that builds a program with the qpdf library: diff --git a/manual/installation.rst b/manual/installation.rst index 9a13b3ab..7b57ef2a 100644 --- a/manual/installation.rst +++ b/manual/installation.rst @@ -16,7 +16,7 @@ need to build qpdf in various circumstances. Basic Dependencies ~~~~~~~~~~~~~~~~~~ -- A C++ compiler that supports C++-14 +- A C++ compiler that supports C++-17 - `CMake `__ version 3.16 or later diff --git a/manual/release-notes.rst b/manual/release-notes.rst index d3e010d3..38460f01 100644 --- a/manual/release-notes.rst +++ b/manual/release-notes.rst @@ -8,6 +8,11 @@ For a detailed list of changes, please see the file .. x.y.z: not yet released +11.2.0: not yet released + - Build changes + + - A C++-17 compiler is now required. + 11.1.1: October 1, 2022 - Bug fixes