[Boost-bugs] [Boost C++ Libraries] #7641: g++ 4.7 inline warning

Subject: [Boost-bugs] [Boost C++ Libraries] #7641: g++ 4.7 inline warning
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-05 22:08:32

#7641: g++ 4.7 inline warning
 Reporter: oxoocoffee | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.52.0
 Severity: Problem | Keywords:
 #include <boost/random/mersenne_twister.hpp>

 int main(int argc, char* argv[])
  return 0;

 g++ -m64 -c -g -march=core2 -mtune=core2 -pedantic -Wunused-variable
 -Wno-deprecated -Wno-long-long -pipe -Wall -D_REENTRANT -DLINUX
 -I/usr/local/boost/include test.cpp

 warning: always_inline function might not be inlinable [-Wattributes]

 Fix change



 BOOST_RANDOM_DETAIL_CONSTEXPR inline int integer_log2(T t)

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