Boost logo

Boost :

Subject: Re: [boost] [1.61.0] building with Clang and c++11
From: Bjorn Reese (breese_at_[hidden])
Date: 2016-07-02 06:19:57


On 07/02/2016 07:45 AM, Michel Morin wrote:

> I confirmed that including <boost/mpl/print.hpp> on Clang in C++03 mode
> **always** produces a warning (i.e. even without using `boost::mpl::print<T>`).
> IMHO this issue should be fixed, so I made a PR
>
> https://github.com/boostorg/mpl/pull/27

A simpler patch is to make m_x static.

You can easily verify that this works with BOOST_STATIC_WARNING() from
<boost/serialization/static_warning.hpp>.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk