Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6854: boost/random/detail/integer_log2.hpp:71:35: warning: always_inline function might not be inlinable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-15 17:09:03
#6854: boost/random/detail/integer_log2.hpp:71:35: warning: always_inline function
might not be inlinable
--------------------------------+-------------------------------------------
Reporter: peter@⦠| Owner: no-maintainer
Type: Bugs | Status: reopened
Milestone: To Be Determined | Component: random
Version: Boost 1.52.0 | Severity: Regression
Resolution: | Keywords:
--------------------------------+-------------------------------------------
Changes (by anonymous):
* status: closed => reopened
* version: Boost 1.49.0 => Boost 1.52.0
* resolution: fixed =>
* severity: Cosmetic => Regression
Comment:
Indeed, still not fixed in 1.52, reopening this ticket.
Adding the suggested inline keyword to integer_log2.hpp fixes this.
{{{
/tmp/boost_1_52_0$ /usr/bin/g++-4.7 -I./ -Werror main.cpp
In file included from ./boost/random/detail/large_arithmetic.hpp:19:0,
from ./boost/random/detail/const_mod.hpp:23,
from ./boost/random/detail/seed_impl.hpp:27,
from ./boost/random/mersenne_twister.hpp:29,
from main.cpp:1:
./boost/random/detail/integer_log2.hpp:71:35: error: always_inline
function
might not be inlinable [-Werror=attributes]
cc1plus: all warnings being treated as errors
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6854#comment:6> 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