Boost logo

Boost :

Subject: Re: [boost] Boost 1.65.0 Beta 1
From: Peppard (peppard+boost_at_[hidden])
Date: 2017-07-31 11:12:56


On 2017-07-21 19:05, John Maddock via Boost wrote:
> On 21/07/2017 14:18, Peppard via Boost wrote:
>> On 2017-07-13 14:41, Marshall Clow via Boost wrote:
>>> Please download the beta, give it a try, and report any problems you
>>> encounter.
>> There seems to be a regression due to changes in
>> boost/math/common_factor_ct.hpp (commit
>> ceae76a526b45e902655f0c0db300d229e5ec135), a short example:
>>
>> #include <boost/math_fwd.hpp>
>> #include <boost/math/common_factor_ct.hpp>
>>
>> The error message is "‘static_gcd’ is already declared in this scope"
>> (GCC) or "target of using declaration conflicts with declaration already
>> in scope" (Clang).
>>
>> The first include can be found in Boost.Units, the other one e.g. in
>> Boost.Variant, in my case there was a file including
>> boost/units/cmath.hpp and boost/signals2/signal.hpp.
>
> Darn. I'll fix ASAP, it's not a new issue strictly speaking, but stems
> from moving gcd/lcm into integer from math a couple of releases ago.

Will there be a Beta 2 including a fix for this problem? I'd be happy to
test it before the official 1.65.0 release. Otherwise I'll probably have
to test with a locally patched version (jzmaddock-patch-1?).


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk