Boost logo

Boost :

Subject: Re: [boost] [Boost.Math] Re: [Monotone-debian] Bug#653764: FTBFS with Boost 1.48: lgamma_small.hpp:483:38: error: expected primary-expression before 'do'
From: Edward Diener (eldiener_at_[hidden])
Date: 2012-01-02 14:09:34

On 1/1/2012 7:30 PM, Steve M. Robbins wrote:
> Hello,
> Boost Developers: I recently did rebuilds of all Debian packages that use Boost
> with Boost 1.48 and this is one of the casualties of the upgrade (from 1.46.1).
> On Sat, Dec 31, 2011 at 12:02:37PM +0100, Zack Weinberg wrote:
>> On Fri, Dec 30, 2011 at 9:53 PM, Steve M. Robbins<smr_at_[hidden]> wrote:
>>> This package failed to build using the newest Boost version 1.48:
>> ...
>>> /usr/include/boost/math/special_functions/detail/lgamma_small.hpp: In function 'T boost::math::detail::lgamma_small_imp(T, T, T, const mpl_::int_<0>&, const Policy&, const L&)':
>> ...
>>> /usr/include/boost/math/special_functions/detail/lgamma_small.hpp:483:38: error: expected primary-expression before 'do'
>> I'm not in a position to verify this for myself for another week, but
>> I have a horrible feeling I know what's wrong: Monotone defines
>> several one-character macros for its own use, and L() is one of them.

Any programmer who doesn't attempt to give distinctive names to macros
in their header file(s) is really clueless. I don't know who/what
"monotone" is but whoever did the programming for "it" has done a really
poor job by naming a macro "L".

Boost list run by bdawes at, gregod at, cpdaniel at, john at