mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Bump the minimum compiler version to C++17.
This commit is contained in:
parent
ea5bf13313
commit
30e7e13298
@ -6,13 +6,13 @@ InspIRCd is a modular C++ Internet Relay Chat (IRC) server for UNIX-like and Win
|
||||
|
||||
InspIRCd is supported on the following platforms:
|
||||
|
||||
- Most recent BSD variants using the Clang 3.8+ or GCC 5+ compilers and the GNU toolchains (Make, etc).
|
||||
- Most recent BSD variants using the Clang 5+ or GCC 7+ compilers and the GNU toolchains (Make, etc).
|
||||
|
||||
- Most recent Linux distributions using the Clang 3.8+ or GCC 5+ compilers and the GNU toolchain.
|
||||
- Most recent Linux distributions using the Clang 5+ or GCC 7+ compilers and the GNU toolchain.
|
||||
|
||||
- The most recent three major releases of macOS using the AppleClang 7.0.2+, Clang 3.8+, or GCC 5+ (*not* LLVM-GCC) compilers and the GNU toolchain.
|
||||
- The most recent three major releases of macOS using the AppleClang 10, Clang 5+, or GCC 7+ (*not* LLVM-GCC) compilers and the GNU toolchain.
|
||||
|
||||
- Windows 7 or newer using the MSVC 14+ (Visual Studio 2015) compiler and CMake 2.8+.
|
||||
- Windows 7 or newer using the MSVC 19.15+ (Visual Studio 15.8 2017) compiler and CMake 2.8+.
|
||||
|
||||
Alternate platforms and toolchains may also work but are not officially supported by the InspIRCd team. Generally speaking if you are using a reasonably modern UNIX-like system you should be able to build InspIRCd on it.
|
||||
|
||||
|
@ -206,7 +206,7 @@ sub test_file($$;$) {
|
||||
my ($compiler, $file, $args) = @_;
|
||||
my $status = 0;
|
||||
$args //= '';
|
||||
$status ||= system "$compiler -std=c++14 -o __test_$file ${\CONFIGURE_ROOT}/make/test/$file $args ${\CONFIGURE_ERROR_PIPE}";
|
||||
$status ||= system "$compiler -std=c++17 -o __test_$file ${\CONFIGURE_ROOT}/make/test/$file $args ${\CONFIGURE_ERROR_PIPE}";
|
||||
$status ||= system "./__test_$file ${\CONFIGURE_ERROR_PIPE}";
|
||||
unlink "./__test_$file";
|
||||
return !$status;
|
||||
|
@ -39,7 +39,7 @@
|
||||
#
|
||||
|
||||
|
||||
CXX = @CXX@ -std=c++14
|
||||
CXX = @CXX@ -std=c++17
|
||||
COMPILER = @COMPILER_NAME@
|
||||
SYSTEM = @SYSTEM_NAME@
|
||||
BUILDPATH ?= $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/build/@COMPILER_NAME@-@COMPILER_VERSION@
|
||||
|
1698
vendor/optional-lite/optional.hpp
vendored
1698
vendor/optional-lite/optional.hpp
vendored
File diff suppressed because it is too large
Load Diff
8
vendor/update.toml
vendored
8
vendor/update.toml
vendored
@ -13,14 +13,6 @@ files = "http_parser.[ch]"
|
||||
git = "https://github.com/nodejs/http-parser"
|
||||
license = "MIT License"
|
||||
|
||||
[optional-lite]
|
||||
author = "Martin Moene"
|
||||
depth = 2
|
||||
email = "martin.moene@gmail.com"
|
||||
files = "include/nonstd/optional.hpp"
|
||||
git = "https://github.com/martinmoene/optional-lite"
|
||||
license = "Boost Software License"
|
||||
|
||||
[sha2]
|
||||
author = "Olivier Gay"
|
||||
email = "olivier.gay@a3.epfl.ch"
|
||||
|
Loading…
x
Reference in New Issue
Block a user