Boost logo

Boost :

Subject: Re: [boost] clang-win, again
From: Peter Dimov (lists_at_[hidden])
Date: 2018-10-27 13:07:09

Egor Pugin wrote:
> > You can try the attached clang-win.jam, with
> Using your config I got several errors related to .asm files with b2.

That's caused by a mistake of mine, forgetting to set the assembler with

toolset.flags clang-win.compile .ASM $(condition) : $(assembler) -nologo ;

and an issue with Context's Jamfile - it tries to use GNU as for clang-win
instead of masm:

If you try the attached clang-win.jam and apply the patch to Context, it
should build.

I still don't handle <address-model>32 properly, will look into that next.
Also, Math's precompiled headers don't seem to work, I get

clang-cl.exe: warning: support for '-Yu' without a corresponding /FI flag
not implemented yet; flag ignored [-Wclang-cl-pch]

clang-cl.exe: warning: argument unused during compilation:

I probably need to figure out a way to disable them.

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