Boost logo

Boost :

Subject: Re: [boost] Boost 1.65.0 Beta 1
From: Peppard (peppard+boost_at_[hidden])
Date: 2017-07-21 13:18:28


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.

Thanks!


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