Commit 6826330adc9dfe3f8ac6c0d911991d4591653151

Authored by Jay Berkenbilt
1 parent 741211a1

Require a C++-17 compiler

CMakeLists.txt
... ... @@ -153,7 +153,7 @@ Please build with cmake in a subdirectory, e.g.
153 153 Please remove CMakeCache.txt and the CMakeFiles directories.")
154 154 endif()
155 155  
156   -set(CMAKE_CXX_STANDARD 14)
  156 +set(CMAKE_CXX_STANDARD 17)
157 157 set(CMAKE_CXX_EXTENSIONS OFF)
158 158 set(CMAKE_CXX_STANDARD_REQUIRED ON)
159 159 set(CMAKE_C_VISIBILITY_PRESET hidden)
... ...
ChangeLog
  1 +2022-10-06 Jay Berkenbilt <ejb@ql.org>
  2 +
  3 + * Change minimum required C++ version from C++-14 to C++-17.
  4 +
1 5 2022-10-01 Jay Berkenbilt <ejb@ql.org>
2 6  
3 7 * 11.1.1: release
... ...
README.md
... ... @@ -29,7 +29,7 @@ Versions of qpdf prior to version 7 were released under the terms of version 2.0
29 29  
30 30 # Prerequisites
31 31  
32   -QPDF requires a C++ compiler that supports C++-14.
  32 +QPDF requires a C++ compiler that supports C++-17.
33 33  
34 34 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:
35 35  
... ...
manual/installation.rst
... ... @@ -16,7 +16,7 @@ need to build qpdf in various circumstances.
16 16 Basic Dependencies
17 17 ~~~~~~~~~~~~~~~~~~
18 18  
19   -- A C++ compiler that supports C++-14
  19 +- A C++ compiler that supports C++-17
20 20  
21 21 - `CMake <https://www.cmake.org>`__ version 3.16 or later
22 22  
... ...
manual/release-notes.rst
... ... @@ -8,6 +8,11 @@ For a detailed list of changes, please see the file
8 8  
9 9 .. x.y.z: not yet released
10 10  
  11 +11.2.0: not yet released
  12 + - Build changes
  13 +
  14 + - A C++-17 compiler is now required.
  15 +
11 16 11.1.1: October 1, 2022
12 17 - Bug fixes
13 18  
... ...