www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.internals - How to get build.d to display stderr?

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.com> writes:
I've put a few pragma(msg)s in the compiler and to my surprise build.d 
eats the stderr. How do I get it to show it? And why is that the default?
Jun 30 2020
parent Sebastian Wilzbach <seb wilzba.ch> writes:
On 30/06/2020 19.07, Andrei Alexandrescu via Dlang-internal wrote:
 I've put a few pragma(msg)s in the compiler and to my surprise build.d
 eats the stderr. How do I get it to show it? And why is that the default?
Current setting is to only print output on an error (reduces information overload). There's no distinction between stdout/stderr as Phobos execute is used (execute combines stdout+stderr). Anyhow, it's certainly possible to change the behavior https://github.com/dlang/dmd/pull/11352
Jun 30 2020