Skip to content

State the minimum versions in the README - #60

Merged
garethsb merged 1 commit into
cpprest-ltsfrom
docs/minimum-versions
Nov 6, 2026
Merged

garethsb merged 1 commit into
cpprest-ltsfrom
docs/minimum-versions

Conversation

@garethsb

@garethsb garethsb commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

The README doesn't state the minimum versions needed to build cpprestsdk. This PR adds one paragraph after the CMake example:

  • C++11 and CMake 3.10, from cmake_minimum_required and -std=c++11 in Release/CMakeLists.txt.
  • Boost 1.66, from find_package(Boost 1.66 REQUIRED) in Release/cmake/cpprest_find_boost.cmake.
  • OpenSSL 1.0.0, from find_package(OpenSSL 1.0.0 REQUIRED) in Release/cmake/cpprest_find_openssl.cmake.
  • GCC 4.9 for the WebSocket client. websocketpp's replacement for std::aligned_storage uses std::max_align_t, which libstdc++ added in GCC 4.9.

It also says that CI tests only current compilers and dependencies, because none of these minimums is tested.

Co-authored-by: Gareth's 🤖 buddy

The CMake files require CMake 3.10, Boost 1.66 and OpenSSL 1.0.0, but
the README did not say so. The WebSocket client also needs GCC 4.9 or
later, because websocketpp uses std::max_align_t.

Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
@garethsb
garethsb merged commit a90569b into cpprest-lts Nov 6, 2026
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant