diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-10-06 12:58:25 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-10-06 12:58:38 +0200 |
commit | 6826330adc9dfe3f8ac6c0d911991d4591653151 (patch) | |
tree | 08e3e03c4555c0e759f186075a3d3f13c5e3212e | |
parent | 741211a199923310dad880ea1dc903ca2476ad48 (diff) | |
download | qpdf-6826330adc9dfe3f8ac6c0d911991d4591653151.tar.zst |
Require a C++-17 compiler
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | manual/installation.rst | 2 | ||||
-rw-r--r-- | manual/release-notes.rst | 5 |
5 files changed, 12 insertions, 3 deletions
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) @@ -1,3 +1,7 @@ +2022-10-06 Jay Berkenbilt <ejb@ql.org> + + * Change minimum required C++ version from C++-14 to C++-17. + 2022-10-01 Jay Berkenbilt <ejb@ql.org> * 11.1.1: release @@ -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 <https://www.cmake.org>`__ 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 |