Skip to content

Feature request: Option to hide command used when there are compilation errors #2296

@herzenschein

Description

@herzenschein

Typically the sort of error you'd see compiling a C++ project on Linux using Ninja for example would look like something similar to this:

FAILED: file.cpp.o
/usr/bin/g++ --all --flags --and --arguments --used
/path/to/file.cpp: in function someFunction():
exactFunction.containingError()
              ^~~~~~~~~~~~~~~~^

More often than not the compiler command is both huge and not useful to me, so I'd like an option to turn it off somehow. It can be incredibly noisy and makes it difficult to scan for compilation errors.

I couldn't find any documentation about this, and the --quiet flag does not do what I want.

For comparison, Make by default skips the compiler command, and only shows it if VERBOSE/V is set in any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions