mirror of
https://github.com/boostorg/conversion.git
synced 2025-07-30 12:37:24 +02:00
Remove hard error about C++11 requirement and update CI
This commit is contained in:
@ -11,11 +11,6 @@
|
|||||||
# pragma once
|
# pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(BOOST_NO_CXX11_CONSTEXPR)
|
|
||||||
#error C++03 support is removed in Boost.Conversion 1.84
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
|
@ -49,18 +49,12 @@
|
|||||||
#ifndef BOOST_POLYMORPHIC_CAST_HPP
|
#ifndef BOOST_POLYMORPHIC_CAST_HPP
|
||||||
#define BOOST_POLYMORPHIC_CAST_HPP
|
#define BOOST_POLYMORPHIC_CAST_HPP
|
||||||
|
|
||||||
#include <boost/config/assert_cxx11.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
#ifdef BOOST_HAS_PRAGMA_ONCE
|
#ifdef BOOST_HAS_PRAGMA_ONCE
|
||||||
# pragma once
|
# pragma once
|
||||||
#endif
|
#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/assert.hpp>
|
||||||
# include <boost/throw_exception.hpp>
|
# include <boost/throw_exception.hpp>
|
||||||
|
|
||||||
|
@ -15,10 +15,6 @@
|
|||||||
# pragma once
|
# pragma once
|
||||||
#endif
|
#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/assert.hpp>
|
||||||
# include <boost/pointer_cast.hpp>
|
# include <boost/pointer_cast.hpp>
|
||||||
# include <boost/throw_exception.hpp>
|
# include <boost/throw_exception.hpp>
|
||||||
|
@ -12,5 +12,5 @@
|
|||||||
"maintainers": [
|
"maintainers": [
|
||||||
"Antony Polukhin <antoshkka -at- gmail.com>"
|
"Antony Polukhin <antoshkka -at- gmail.com>"
|
||||||
],
|
],
|
||||||
"cxxstd": "03"
|
"cxxstd": "11"
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ import ../../config/checks/config : requires ;
|
|||||||
|
|
||||||
project
|
project
|
||||||
: requirements
|
: requirements
|
||||||
[ requires cxx11 ]
|
[ requires cxx11_rvalue_references ]
|
||||||
# default to all warnings on:
|
# default to all warnings on:
|
||||||
<warnings>all
|
<warnings>all
|
||||||
# set warnings as errors for those compilers we know we get warning free:
|
# set warnings as errors for those compilers we know we get warning free:
|
||||||
|
@ -21,7 +21,7 @@ init:
|
|||||||
# From this point and below code is same for all the Boost libs
|
# 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 to build
|
||||||
branches:
|
branches:
|
||||||
@ -32,9 +32,6 @@ skip_tags: true
|
|||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
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
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
TOOLSET: msvc-14.1,clang-win
|
TOOLSET: msvc-14.1,clang-win
|
||||||
CXXSTD: 14,17
|
CXXSTD: 14,17
|
||||||
|
Reference in New Issue
Block a user