Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
herzenschein opened this issue May 18, 2023 · 0 comments
Labels
Milestone

Comments

@herzenschein
Copy link

herzenschein commented May 18, 2023

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.

@jhasse jhasse added this to the 2.0.0 milestone Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants