
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 https://github.com/boostorg/mpl/pull/27
./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 #ifdef __has_warning #if __has_warning("-Wkeyword-macro") #pragma ... #endif #endif Regards, Michel