Boost logo

Boost :

Subject: Re: [boost] [Hana] "basic_tuple.hpp" bug when building with VS2017
From: Peter Dimov (lists_at_[hidden])
Date: 2018-05-22 17:14:44


> Louis Dionne wrote:
>
> > Visual Studio 2017 is known to be unable to compile Hana (and other
> > libraries such as Range-v3).
>
> "Visual Studio 2017" refers to four different compilers now, and the
> latest of these can compile many things the earliest could not, so if you
> haven't checked how 2017 fares in a while, a second look may be worth it.

...failed updating 510 targets...
...skipped 1528 targets...
...updated 6019 targets...

Many of the failures are because

C:\boost-git\develop\libs\hana\test\_include\laws/base.hpp(105): error
C2580:
'boost::hana::test::trap_construct::trap_construct(boost::hana::test::trap_construct
&)': multiple versions of a defaulted special member functions are not
allowed

With that fixed, the result is

...failed updating 151 targets...
...skipped 451 targets...
...updated 1810 targets...

So it's not like everything works (the compiler crashes quite a few times),
but on the other hand, things look far from totally unusable.


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