Boost logo

Boost Users :

Subject: Re: [Boost-users] [release] Boost 1.62.0 Beta 1
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2016-09-06 02:26:29


2016-09-05 20:20 GMT+02:00 John Maddock <jz.maddock_at_[hidden]>:

>
> Static library builds with VC14 are OK, but shared library builds fail
> with:
>
> M:\data\boost\boost\boost/fiber/context.hpp(153): error C2492:
> 'boost::fibers::context::active_': data with thread storage duration may
> not have dll interface
> M:\data\boost\boost\boost/fiber/context.hpp(153): error C2492: 'private:
> static boost::fibers::context * boost::fibers::context::active_': data
> with thread storage duration may not have dll interface
>
> I guess since the std says nothing about shared libraries, you're into
> implementation defined behaviour here? Do these variables need to be
> exported from the dll as part of the interface or are they implementation
> details?
>

I've pushed a commit that should solve this issue



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net