|
Boost : |
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2021-10-25 22:02:25
On 10/26/21 00:20, Peter Dimov via Boost wrote:
> Andrey Semashev wrote:
>>
>> It seems to be unavailable in AppVeyor, so I don't think I will be testing it
>> before the beta. And also unlikely before 1.78.
>
> It seems to be available on GHA:
>
> https://github.blog/changelog/2021-08-23-github-actions-windows-server-2022-with-visual-studio-2022-is-now-available-on-github-hosted-runners-public-beta/
I don't run Windows builds on GHA, so I'll probably wait until it is
available in AppVeyor.
> I ran ` b2 -j32 toolset=msvc-14.3 libs/atomic/test libs/filesystem/test libs/log/test cxxstd=14,17,latest`
> and the result is
>
> compile-c-c++ bin.v2\libs\log\example\doc\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi\sinks_async_ordering.obj
> sinks_async_ordering.cpp
> libs\log\example\doc\sinks_async_ordering.cpp(64): error C2672: 'boost::log::v2_mt_nt6::make_attr_ordering': no matching overloaded function found
> libs\log\example\doc\sinks_async_ordering.cpp(64): error C2893: Failed to specialize function template 'aux::make_attr_ordering_type<FunT,boost::enable_if_c<boost::log::v2_mt_nt6::aux::arity_of<FunT>::value==2,void>::type,aux::first_argument_type_of<FunT>::type,aux::second_argument_type_of<FunT>::type,boost::enable_if_c<boost::is_same<Arg1T,Arg2T>::value,void>::type>::type boost::log::v2_mt_nt6::make_attr_ordering(const boost::log::v2_mt_nt6::attribute_name &,const FunT &)'
> with
> [
> Arg1T=aux::first_argument_type_of<FunT>::type,
> Arg2T=aux::second_argument_type_of<FunT>::type
> ]
> C:\boost-git\develop\boost/log/utility/record_ordering.hpp(215): note: see declaration of 'boost::log::v2_mt_nt6::make_attr_ordering'
> libs\log\example\doc\sinks_async_ordering.cpp(64): note: With the following template arguments:
> libs\log\example\doc\sinks_async_ordering.cpp(64): note: 'FunT=std::less<unsigned int>'
Thanks.
Looks like they removed the nested argument typedefs from the standard
function objects. Pity, this forces user's code to be more verbose.
Should be fixed by:
https://github.com/boostorg/log/commit/e957369c806e9c6c08e5e8e5a6a979fcee9bda9e
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk