Remove hard error about C++11 requirement and update CI

This commit is contained in:
Antony Polukhin
2023-08-25 14:59:53 +03:00
parent 2598281d10
commit 668030fcd6
6 changed files with 4 additions and 22 deletions

View File

@ -11,11 +11,6 @@
# pragma once
#endif
#if defined(BOOST_NO_CXX11_CONSTEXPR)
#error C++03 support is removed in Boost.Conversion 1.84
#endif
namespace boost {
namespace detail {

View File

@ -49,18 +49,12 @@
#ifndef BOOST_POLYMORPHIC_CAST_HPP
#define BOOST_POLYMORPHIC_CAST_HPP
#include <boost/config/assert_cxx11.hpp>
#include <boost/config.hpp>
#ifdef BOOST_HAS_PRAGMA_ONCE
# pragma once
#endif
#if defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)
#error C++03 support is removed in Boost.Conversion 1.84
#endif
# include <boost/assert.hpp>
# include <boost/throw_exception.hpp>

View File

@ -15,10 +15,6 @@
# pragma once
#endif
#if defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) || defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) || defined(BOOST_NO_CXX11_DECLTYPE)
#error C++03 support is removed in Boost.Conversion 1.84
#endif
# include <boost/assert.hpp>
# include <boost/pointer_cast.hpp>
# include <boost/throw_exception.hpp>

View File

@ -12,5 +12,5 @@
"maintainers": [
"Antony Polukhin <antoshkka -at- gmail.com>"
],
"cxxstd": "03"
"cxxstd": "11"
}

View File

@ -12,7 +12,7 @@ import ../../config/checks/config : requires ;
project
: requirements
[ requires cxx11 ]
[ requires cxx11_rvalue_references ]
# default to all warnings on:
<warnings>all
# set warnings as errors for those compilers we know we get warning free:

View File

@ -21,7 +21,7 @@ init:
# From this point and below code is same for all the Boost libs
###############################################################################################################
version: 1.71.{build}-{branch}
version: 1.84.{build}-{branch}
# branches to build
branches:
@ -32,9 +32,6 @@ skip_tags: true
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0
ADDRMD: 32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
TOOLSET: msvc-14.1,clang-win
CXXSTD: 14,17