set minimum gcc version to 5.0.

This is due to C++98 support being dropped, so 4.8 fails other libraries C++11 detection.
This commit is contained in:
Klemens Morgenstern
2023-08-15 13:59:42 +08:00
committed by Klemens Morgenstern
parent b0f6f9c39c
commit 915b80a157
4 changed files with 4 additions and 14 deletions

View File

@@ -30,7 +30,7 @@ def main(ctx):
generatedjobs = generate(
# Compilers
['gcc >=4.8',
['gcc >=5.0',
'clang >=3.8',
# 'msvc >=14.1',
'arm64-gcc latest',

View File

@@ -26,16 +26,6 @@ jobs:
fail-fast: false
matrix:
include:
# gcc 4.7 not supported by beast
# minimum requirement is gcc 4.8
- toolset: gcc-4.8
cxxstd: "11"
os: ubuntu-22.04
container: ubuntu:16.04
install: g++-4.8
supported: true
# gcc 4.9 not supported by beast
# It dies with ICE when compiling
- toolset: gcc-5
cxxstd: "11,14,1z"
os: ubuntu-22.04

View File

@@ -60,7 +60,7 @@ Beast requires:
* [*Boost:] Beast only works with Boost, not stand-alone Asio
* [*OpenSSL:] Version 1.0.2 or higher. Required to build the tests, examples, and to use TLS/Secure sockets.
Tested with these compilers: msvc-14+, gcc 4.8.4+, clang 3.6+.
Tested with these compilers: msvc-14+, gcc 5.0+, clang 3.6+.
Sources are [*header-only]. Adding additional libraries to the
linking step for your programs to use Beast is normally not

View File

@@ -41,8 +41,8 @@ namespace net = boost::asio;
# endif
#elif defined(BOOST_GCC)
# if(BOOST_GCC < 40801)
# error Beast requires C++11: gcc version 4.8 or later needed
# if(BOOST_GCC < 50000)
# error Beast requires C++11: gcc version 5 or later needed
# endif
#else