Subject: Re: [boost] `b2 toolset=clang-win` now works on Appveyor
From: Edward Diener (eldiener_at_[hidden])
Date: 2018-11-18 14:28:55
On 11/18/2018 8:52 AM, Peter Dimov via Boost wrote:
> 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.
Works great !