Opened 7 years ago

#11643 new Bugs

warning clang without c++11

Reported by: anonymous Owned by: Aleksey Gurtovoy
Milestone: To Be Determined Component: mpl
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

We get this warning around a million times, when compiling our project:

/opt/local/include/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));

Change History (0)

Note: See TracTickets for help on using tickets.