Subject: [Boost-bugs] [Boost C++ Libraries] #12805: Build time config is not consistent with compile time config macros.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-02-02 16:08:18
#12805: Build time config is not consistent with compile time config macros.
-------------------------------------+-------------------------
Reporter: takahashi | Owner: johnmaddock
Type: Support Requests | Status: new
Milestone: To Be Determined | Component: config
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+-------------------------
Some permissive compilers allow to use some of c++11 (or 14/1z/...)
features as a extension: e.g. clang allows using of rvalue references in
gnu++98 mode.
In that case, build time config (i.e. cxx11_rvalue_references) tells `yes`
but `boost/config.hpp` defines `BOOST_NO_CXX11_RVALUE_REFERENCES` and
`<utility>` doesn't define `std::move`, `std::forward`, and so on.
Thus, the regression tests that depending on macros will be issued and
failure.
This is not only cland and rv-ref combination but also any other compiler
and feature combinations: gcc allows lambda in gnu++98 mode but clang
doesn't.
IMO, the build time config should be compliant compile time config than
compiler error.
Any thoughts?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12805> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:21 UTC