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
#include 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?).