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
it always worked for me without any special settings (im on VS2017 and using the LLVM-VStudio integrationhttps://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-tool... https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-tool...) i've never need to change anything in my projects beside installing latest LLVM/clang + extension and switching the compiler in every of my private and customer projects - its the first time with 1.74 that it does not work out of the box i've never set any auto-link defines and using clang-cl on daily basis for some years now Am 12.08.2020 um 16:47 schrieb Peter Dimov via Boost:
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.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost