Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10982: addressof.hpp: should BOOST_ASIO_HAS_STD_ADDRESSOF be replaced with BOOST_NO_CXX11_ADDRESSOF ?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-29 14:02:40
#10982: addressof.hpp: should BOOST_ASIO_HAS_STD_ADDRESSOF be replaced with
BOOST_NO_CXX11_ADDRESSOF ?
--------------------------------+---------------------
Reporter: lukasz.forynski@⦠| Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+---------------------
Comment (by lukasz.forynski@â¦):
Sorry, I did not dig into problem deep enough, it looks like my compiler:
gcc 4.5.3 does not support std::addressof, thus boost::asio config does
not set it properly in asio/detail/config.hpp. Should the check go deaper
and include __GNUC_PATCHLEVEL__ perhaps?
But still, it looks like the global config gets ignored, i.e. shouldn't
BOOST_NO_CXX11_ADDRESSOF imply: BOOST_ASIO_HAS_STD_ADDRESSOF ?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10982#comment:1> 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:17 UTC