Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-08-12 14:47:08


Dennis Luehring wrote:
> a freshly build 1.73 and 1.74-rc2 showing exact that behavior
>
> both boost versions are only build with vc141 - there are only vc141 libs
> available
>
> if using boost 1.73 it makes no difference in building with microsoft-cl
> or clang-cl
>
> if using boost 1.74 - boost will ask for clangw10 libs

That's not what I'm seeing here (although I tried with VS2019 and LLVM 9.)
When using Boost 1.73, and your test program, I get

1>lld-link : error : could not open
'libboost_serialization-clangw9-mt-gd-x64-1_73.lib': no such file or
directory

which matches my expectation.

Defining BOOST_LIB_DIAGNOSTIC yields:

1>In file included from testbed2019.cpp:3:
1>In file included from D:\boost_1_73_0\boost/archive/xml_iarchive.hpp:22:
1>In file included from
D:\boost_1_73_0\boost/archive/detail/auto_link_archive.hpp:45:
1>D:\boost_1_73_0\boost/config/auto_link.hpp(441): warning : Linking to lib
file: libboost_serialization-clangw9-mt-gd-x64-1_73.lib [-W#pragma-messages]

Again, as expected, based on the contents of auto_link.hpp.


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