This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Feature request: errors/warnings to standar error (stderr)

Feature request:
Our Keil C166 compiler does not make a distinction between standard output or standard error. It would be nice if error/warning messages would be displayed on standard error. This make it easier to redirect output, handle logging in our build environment, etc. Seems like a simple file descriptor adjustment and existing users/tools won't notice the difference.

I'm not sure if the latest version (6.x) supports this already.

Kind rergards,
Joost Leeuwesteijn

Parents
  • If you do a huge compilation with houndreds or thousands of source files, you might actually like a compiler that sends warnings and errors to stderr, allowing you to just use redirect to separate the warnings/errors from the normal build noise.

    When using c++ with templates, a lot of warnings/errors messages may be several lines long, making it hard to just use grep to pick out interesting warnings.

Reply
  • If you do a huge compilation with houndreds or thousands of source files, you might actually like a compiler that sends warnings and errors to stderr, allowing you to just use redirect to separate the warnings/errors from the normal build noise.

    When using c++ with templates, a lot of warnings/errors messages may be several lines long, making it hard to just use grep to pick out interesting warnings.

Children
No data