Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-10-25 21:20:55


Andrey Semashev wrote:
> On 10/25/21 22:22, Peter Dimov via Boost wrote:
> > The Visual Studio 2022 (msvc-14.3) release date is Nov 8, which is
> > right in the middle of our beta master freeze (Nov 3 - Nov 10). Since
> > VS2022 is now RC2, which means that it won't change much if at all, we
> > probably need to start testing our libraries with it now, so that the
> > issues are ironed out before 1.78 beta.
>
> 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 ran ` b2 -j32 toolset=msvc-14.3 libs/atomic/test libs/filesystem/test libs/log/test cxxstd=14,17,latest`
and the result is

msvc.link.dll bin.v2\libs\log\example\event_log\msvc-14.3\debug\cxxstd-14-iso\threadapi-win32\threading-multi\event_log_messages-vc143-mt-gd-x64-1_78.dll
msvc.link.dll bin.v2\libs\log\example\event_log\msvc-14.3\debug\cxxstd-17-iso\threadapi-win32\threading-multi\event_log_messages-vc143-mt-gd-x64-1_78.dll
msvc.link.dll bin.v2\libs\log\example\event_log\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi\event_log_messages-vc143-mt-gd-x64-1_78.dll
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>'
libs\log\example\doc\sinks_async_ordering.cpp(64): error C2783: 'boost::log::v2_mt_nt6::attribute_value_ordering<ValueT,FunT> boost::log::v2_mt_nt6::make_attr_ordering(const boost::log::v2_mt_nt6::attribute_name &,const FunT &)': could not deduce template argument for 'ValueT'
C:\boost-git\develop\boost/log/utility/record_ordering.hpp(186): note: see declaration of 'boost::log::v2_mt_nt6::make_attr_ordering'

    call "bin.v2\standalone\msvc\msvc-14.3\msvc-setup.bat" >nul
 cl /Zm800 -nologo "libs\log\example\doc\sinks_async_ordering.cpp" -c -Fo"bin.v2\libs\log\example\doc\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi\sinks_async_ordering.obj" -TP /bigobj /wd4003 /wd4456 /wd4459 /wd4503 /wd4675 /EHs /std:c++latest /GR /Zc:throwingNew /Z7 /Od /Ob0 /W3 /MDd /Zc:forScope /Zc:wchar_t /Zc:inline /favor:blend -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_LOG_DYN_LINK=1 -DBOOST_LOG_SETUP_DYN_LINK=1 -DBOOST_LOG_USE_AVX2 -DBOOST_LOG_USE_SSSE3 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_USE_DLL=1 -DBOOST_THREAD_WIN32 -DDATE_TIME_INLINE -DNOMINMAX -DSECURITY_WIN32 -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS "-I."

...failed compile-c-c++ bin.v2\libs\log\example\doc\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi\sinks_async_ordering.obj...
...skipped <pbin.v2\libs\log\example\doc\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi>sinks_async_ordering.exe for lack of <pbin.v2\libs\log\example\doc\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi>sinks_async_ordering.obj...
...skipped <pbin.v2\libs\log\example\doc\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi>sinks_async_ordering.pdb for lack of <pbin.v2\libs\log\example\doc\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi>sinks_async_ordering.obj...
compile-c-c++ bin.v2\libs\log\example\bounded_async_log\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi\main.obj
main.cpp
libs\log\example\bounded_async_log\main.cpp(91): error C2672: 'boost::log::v2_mt_nt6::make_attr_ordering': no matching overloaded function found
libs\log\example\bounded_async_log\main.cpp(91): 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\bounded_async_log\main.cpp(91): note: With the following template arguments:
libs\log\example\bounded_async_log\main.cpp(91): note: 'FunT=std::less<unsigned int>'
libs\log\example\bounded_async_log\main.cpp(91): error C2783: 'boost::log::v2_mt_nt6::attribute_value_ordering<ValueT,FunT> boost::log::v2_mt_nt6::make_attr_ordering(const boost::log::v2_mt_nt6::attribute_name &,const FunT &)': could not deduce template argument for 'ValueT'
C:\boost-git\develop\boost/log/utility/record_ordering.hpp(186): note: see declaration of 'boost::log::v2_mt_nt6::make_attr_ordering'

    call "bin.v2\standalone\msvc\msvc-14.3\msvc-setup.bat" >nul
 cl /Zm800 -nologo "libs\log\example\bounded_async_log\main.cpp" -c -Fo"bin.v2\libs\log\example\bounded_async_log\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi\main.obj" -TP /bigobj /wd4003 /wd4456 /wd4459 /wd4503 /wd4675 /EHs /std:c++latest /GR /Zc:throwingNew /Z7 /Od /Ob0 /W3 /MDd /Zc:forScope /Zc:wchar_t /Zc:inline /favor:blend -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_LOG_DYN_LINK=1 -DBOOST_LOG_USE_AVX2 -DBOOST_LOG_USE_SSSE3 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_USE_DLL=1 -DBOOST_THREAD_WIN32 -DDATE_TIME_INLINE -DNOMINMAX -DSECURITY_WIN32 -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS "-I."

...failed compile-c-c++ bin.v2\libs\log\example\bounded_async_log\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi\main.obj...
...skipped <pbin.v2\libs\log\example\bounded_async_log\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi>bounded_async_log.exe for lack of <pbin.v2\libs\log\example\bounded_async_log\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi>main.obj...
...skipped <pbin.v2\libs\log\example\bounded_async_log\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi>bounded_async_log.pdb for lack of <pbin.v2\libs\log\example\bounded_async_log\msvc-14.3\debug\cxxstd-latest-iso\threadapi-win32\threading-multi>main.obj...
...failed updating 2 targets...
...skipped 4 targets...


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