On 10/24/2018 6:33 PM, Egor Pugin via Boost wrote:
Do you mean clang on Windows targeting vc++ or clang on Windows targeting mingw-64/gcc ?
clang-vc++ aka clang-cl In other words clang in VC++ compat mode.
I have this in user-config.jam for clang 7.0 on Windows targeting vc++ ( VC++ compat mode ) : using msvc ; using clang : 7.0 : C:/Utilities/LLVM/700/x64/bin/clang++ : <cxxflags>-fmacro-backtrace-limit=0 <cxxflags>-Wno-invalid-token-paste <compileflags>-fmsc-version=1900 <compileflags>--target=x86_64-pc-windows-msvc <linkflags>--target=x86_64-pc-windows-msvc <linkflags>-fuse-ld=lld ; I also add C:\Utilities\LLVM\700\x64\bin first in my PATH and I manually invoke: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 before the b2 invocation using toolset=clang-7.0. It is possible that neither of these extra actions are needed. Also possible might be to use the -fmsc-version=1915 for vc++14.1 and invoke the vcvarsall,bat for Microsoft Visual Studio 14.1.