Boost logo

Boost :

Subject: Re: [boost] Boost 1.65.0 Beta 1
From: John Maddock (jz.maddock_at_[hidden])
Date: 2017-07-21 17:05:21

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.


This email has been checked for viruses by AVG.

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