Require a C++-17 compiler

This commit is contained in:
Jay Berkenbilt 2022-10-06 06:58:25 -04:00
parent 741211a199
commit 6826330adc
5 changed files with 12 additions and 3 deletions

View File

@ -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)

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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