Subject: Re: [boost] `b2 toolset=clang-win` now works on Appveyor
From: Peter Dimov (lists_at_[hidden])
Date: 2018-11-18 13:52:39
Edward Diener wrote:
> I discovered that the clang-cl --version option only works with clang 6.0
> on up, whereas the clang-cl -v option works down through clang 3.5 ( but
> not clang 3.4 ). Both output the exact same result AFAICS. However
> the --version option when clang-win captures it with SHELL
> "$(compiler) --version" does not show in a Windows command window whereas
> the -v option when clang-win captures it with SHELL "$(compiler) -v" does
> show in the Windows command window.
It seems that `clang -v` outputs to stderr instead of stdout. You could try
SHELL "$(compiler) -v 2>&1", although this seems a bit picky. Not sure how
the SHELL builtin will like it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk