aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-10-06 12:58:25 +0200
committerJay Berkenbilt <ejb@ql.org>2022-10-06 12:58:38 +0200
commit6826330adc9dfe3f8ac6c0d911991d4591653151 (patch)
tree08e3e03c4555c0e759f186075a3d3f13c5e3212e
parent741211a199923310dad880ea1dc903ca2476ad48 (diff)
downloadqpdf-6826330adc9dfe3f8ac6c0d911991d4591653151.tar.zst
Require a C++-17 compiler
-rw-r--r--CMakeLists.txt2
-rw-r--r--ChangeLog4
-rw-r--r--README.md2
-rw-r--r--manual/installation.rst2
-rw-r--r--manual/release-notes.rst5
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)
diff --git a/ChangeLog b/ChangeLog
index 25358ca8..96a096a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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 <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