Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set minimum gcc version to 5.0. #2719

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/qbk/01_intro/_intro.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions include/boost/beast/core/detail/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading