[Boost-bugs] [Boost C++ Libraries] #11643: warning clang without c++11

Subject: [Boost-bugs] [Boost C++ Libraries] #11643: warning clang without c++11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-11 11:35:45


#11643: warning clang without c++11
------------------------------+-----------------------
 Reporter: anonymous | Owner: agurtovoy
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpl
  Version: Boost 1.59.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------
 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));

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11643>
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:19 UTC