Boost logo

Boost :

From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2020-11-03 16:39:35


I opened https://github.com/boostorg/fiber/issues/262 <https://github.com/boostorg/fiber/issues/262> to track this.

— Marshall

> On Oct 27, 2020, at 6:28 PM, Tom Kent via Boost <boost_at_[hidden]> wrote:
>
> I tried building on windows/visual studio from the nightly snapshot. There
> are errors for msvc-14.0, 14.1, and 14.2. See example below.
>
> Tom
>
> compile-c-c++
> D:\RB\bin.v2\boost\bin.v2\libs\fiber\build\msvc-14.1\release\address-model-64\threading-multi\algo\algorithm.obj
> algorithm.cpp
> .\boost/fiber/algo/algorithm.hpp(33): warning C4251:
> 'boost::fibers::algo::algorithm::use_count_': struct 'std::atomic<unsigned
> __int64>' needs to have dll-interface to be used by clients of class
> 'boost::fibers::algo::algorithm'
> C:\Program Files (x86)\Microsoft Visual
> Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include\xxatomic(162):
> note: see declaration of 'std::atomic<unsigned __int64>'
> .\boost/fiber/waker.hpp(58): warning C4251:
> 'boost::fibers::waker_with_hook::waker_queue_hook_': class
> 'boost::intrusive::slist_member_hook<>' needs to have dll-interface to be
> used by clients of class 'boost::fibers::waker_with_hook'
> .\boost/fiber/waker.hpp(18): note: see declaration of
> 'boost::intrusive::slist_member_hook<>'
> .\boost/fiber/waker.hpp(72): warning C4251:
> 'boost::intrusive::slist_impl<boost::intrusive::mhtraits<Parent,MemberHook,pointer-to-member(0x10)>,boost::intrusive::slist_defaults::size_type,4,boost::intrusive::slist_defaults::header_holder_type>::data_':
> struct
> 'boost::intrusive::slist_impl<boost::intrusive::mhtraits<Parent,MemberHook,pointer-to-member(0x10)>,boost::intrusive::slist_defaults::size_type,4,boost::intrusive::slist_defaults::header_holder_type>::data_t'
> needs to have dll-interface to be used by clients of class
> 'boost::intrusive::slist_impl<boost::intrusive::mhtraits<Parent,MemberHook,pointer-to-member(0x10)>,boost::intrusive::slist_defaults::size_type,4,boost::intrusive::slist_defaults::header_holder_type>'
> with
> [
> Parent=boost::fibers::waker_with_hook,
> MemberHook=boost::fibers::detail::waker_queue_hook
> ]
> .\boost/intrusive/slist.hpp(236): note: see declaration of
> 'boost::intrusive::slist_impl<boost::intrusive::mhtraits<Parent,MemberHook,pointer-to-member(0x10)>,boost::intrusive::slist_defaults::size_type,4,boost::intrusive::slist_defaults::header_holder_type>::data_t'
> with
> [
> Parent=boost::fibers::waker_with_hook,
> MemberHook=boost::fibers::detail::waker_queue_hook
> ]
> .\boost/intrusive/slist.hpp(2113): error C2039: 'swap_trailing_nodes': is
> not a member of 'boost::intrusive::circular_slist_algorithms<NodeTraits>'
> with
> [
>
> NodeTraits=boost::intrusive::slist_node_traits<boost::intrusive::hook_defaults::void_pointer>
> ]
> .\boost/intrusive/circular_slist_algorithms.hpp(396): note: see declaration
> of 'boost::intrusive::circular_slist_algorithms<NodeTraits>'
> with
> [
>
> NodeTraits=boost::intrusive::slist_node_traits<boost::intrusive::hook_defaults::void_pointer>
> ]
> .\boost/intrusive/slist.hpp(2113): note: while compiling class template
> member function 'void
> boost::intrusive::slist_impl<boost::intrusive::mhtraits<Parent,MemberHook,pointer-to-member(0x10)>,boost::intrusive::slist_defaults::size_type,4,boost::intrusive::slist_defaults::header_holder_type>::priv_swap_lists(boost::intrusive::slist_node<VoidPointer>
> *,boost::intrusive::slist_node<VoidPointer>
> *,boost::move_detail::bool_<true>)'
> with
> [
> Parent=boost::fibers::waker_with_hook,
> MemberHook=boost::fibers::detail::waker_queue_hook,
> VoidPointer=boost::intrusive::hook_defaults::void_pointer
> ]
> .\boost/intrusive/slist.hpp(2182): note: see reference to class template
> instantiation
> 'boost::intrusive::slist_impl<boost::intrusive::mhtraits<Parent,MemberHook,pointer-to-member(0x10)>,boost::intrusive::slist_defaults::size_type,4,boost::intrusive::slist_defaults::header_holder_type>'
> being compiled
> with
> [
> Parent=boost::fibers::waker_with_hook,
> MemberHook=boost::fibers::detail::waker_queue_hook
> ]
> .\boost/fiber/waker.hpp(72): note: see reference to class template
> instantiation
> 'boost::intrusive::slist<boost::fibers::waker_with_hook,boost::intrusive::member_hook<boost::fibers::waker_with_hook,boost::fibers::detail::waker_queue_hook,pointer-to-member(0x10)>,boost::intrusive::constant_time_size<false>,boost::intrusive::cache_last<true>>'
> being compiled
> .\boost/intrusive/slist.hpp(2113): error C3861: 'swap_trailing_nodes':
> identifier not found
>
> call
> "D:\RB\bin.v2\boost\bin.v2\standalone\msvc\msvc-14.1\address-model-64\architecture-x86\msvc-setup.bat"
>> nul
> cl /Zm800 -nologo
> @"D:\RB\bin.v2\boost\bin.v2\libs\fiber\build\msvc-14.1\release\address-model-64\threading-multi\algo\algorithm.obj.rsp"
>
>
> ...failed compile-c-c++
> D:\RB\bin.v2\boost\bin.v2\libs\fiber\build\msvc-14.1\release\address-model-64\threading-multi\algo\algorithm.obj...
>
> On Sat, Oct 24, 2020 at 5:14 PM Peter Dimov via Boost <boost_at_[hidden]>
> wrote:
>
>> A reminder that Oct 21 was the cutoff date for new library additions, and
>> the upcoming deadlines are
>>
>> - Oct 28: Boost 1.75.0 closed for major changes
>> - Nov 4: Boost 1.75.0 closed for beta
>> - Nov 11: Boost 1.75.0 beta
>> - Dec 2: Boost 1.75.0 closed for release
>> - Dec 9: Boost 1.75.0 release
>>
>> (See the calendar at https://www.boost.org/development/index.html.)
>>
>>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost
>>
>>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


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