[cfe-dev] clang-cl error on building simple cpp with only windows.h + boost-mutex included

Dennis Luehring via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 10 21:45:40 PST 2016


Am 11.02.2016 um 06:38 schrieb Yaron Keren:
> Try -DBOOST_USE_WINDOWS_H
> -DBOOST_SP_USE_STD_ATOMIC may also be needed.

adding

-DBOOST_USE_WINDOWS_H

let me compile the cpp

is clang-cl not "compatible" enough so boost is not detecting MSVC 
correct or why doesn't cl need this?



More information about the cfe-dev mailing list