mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 23:04:35 +02:00
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:
committed by
Klemens Morgenstern
parent
b0f6f9c39c
commit
915b80a157
@@ -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',
|
||||
|
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user