Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2020-08-13 09:53:43

On 2020-08-13 10:36, Dennis Luehring via Boost wrote:
> thank for clearing that up - two times :)
> last question:
> what is the reason for not setting BOOST_MSVC and BOOST_LIB_TOOLSET if
> _MSC_VER && __clang__ is set?
> this way clang-cl could really work as a drop in replacement for
> microsoft-cl without changing anything in
> the project
> are there just too many bugs with clang-cl's microsoft compatiblity or
> is the microsoft-cl and clang-cl version
> mapping problematic (which version of clang-cl is compatible enough with
> what version of mircosoft-cl?)

BOOST_MSVC indicates genuine MSVC. While clang-cl tries to implement
MSVC features, it is a different compiler with its own bugs and features
not present in MSVC. And vise versa - not all MSVC bugs are present in

Also, please don't top-post.

Boost list run by bdawes at, gregod at, cpdaniel at, john at