Boost logo

Boost-Build :

Subject: Re: [Boost-build] has_icu_test.cpp
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-06-27 17:15:30


AMDG

On 06/27/2013 12:24 AM, John Maddock wrote:
>> That's what my googling yielded, but is somewhat vague. How does the
>> IDE know bjam is a compiler at all? Where is it being redirected to?
>> std::cerr? std::cout? some other stream?
>
> I'm sorry I don't know the details, just that it's an issue.
>
> Boost.Build is capturing the compiler output in it's own internal
> stream, and somehow Visual Studio is able to spot if cl is a subprocess
> of the command being executed and grabs it's output before the actual
> command being run.
>

The IDE sets the environmental variable VS_UNICODE_OUTPUT (I think)
This causes the compiler to send its output directly to the IDE
instead of to stderr, so Boost.Build's output redirection doesn't work.

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk