Subject: Re: [boost] [1.61.0] building with Clang and c++11
From: Michel Morin (mimomorin_at_[hidden])
Date: 2016-07-02 01:45:42
Richard Hadsell wrote:
> ./boost/mpl/print.hpp:50:19: warning: in-class initialization of
> non-static data member is a C++11 extension [-Wc++11-extensions]
> const int m_x = 1 / (sizeof(T) - sizeof(T));
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
> ./boost/regex/v4/instances.hpp:124:34: warning: unknown warning group
> '-Wkeyword-macro', ignored [-Wunknown-pragmas]
> #pragma clang diagnostic ignored "-Wkeyword-macro"
I'm not sure this is worth fixing, but we can remove the warning by
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk