1
Vote

Boost packages and Clang with Microsoft CodeGen in VS 2015

description

Hi Sergey,

Boost packages (specifically boost date_time) not working with cross platform dynamic libraries when using Clang as platform toolset
To reproduce create new project using template "Dynamic Library (Windows) for CLang with Microsoft codegen" under Templates/Visual C++/CrossPlatform
Add boost and boost_date_time nuget packages, try to compile, you get following error
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Clang.targets(206,5): error : Element <ExceptionHandling> has an invalid value of "Async".

I understand that these packages are not intended (and I guess never tested) for use with Clang, but it will be lovely if we can have it there.

Sincerely.

comments

sergey_shandar wrote Feb 8, 2016 at 6:46 PM

I haven't tried the new CLang in VS yet. It looks like Boost should support it first. I'm not sure if we can build the current Boost 1.60 using bjam and CLang with VS.

kreuzerkrieg wrote Feb 8, 2016 at 8:13 PM

I have a feeling that this issue will not move an inch until all involved parties setup a joint task force just to make things happen