Subject: Re: [boost] Clang 4.0.0 MPL error in Boost next.hpp and prior.hpp
From: Peter Dimov (lists_at_[hidden])
Date: 2017-03-25 11:17:47


Paul A. Bristow wrote:
> With adding <cxxflags>-fno-ms-compatibility to user_config.jam and a
> command line...

> I still get
>
> In file included from ..\..\..\boost/config.hpp:44:
> ..\..\..\boost/config/select_stdlib_config.hpp:18:12: fatal error:
> 'cstddef' file not found
> # include <cstddef>

You never mentioned how you got rid of that error.

Would not adding the MSVC include directory manually with -isystem work?

> But I note that the line above mentions to object file location is
>
> clang-linux-4.0.0\debug\hello_boost.obj
>
> but default target x86_64-pc-windows-msvc
>
> should I expect Clang-msvc here?

I have no idea why we have two clang toolsets, or which would be the correct
one to use here.