Mail Archives: djgpp/1994/08/16/16:09:12
On Tue, 16 Aug 1994, Bob Babcock wrote:
> There were reports a while back that if you redirected stderr, errors
> messages from cpp got fed to the compiler instead of being displayed. I've
> never seen this happen, but apparently the messages you eventually get are
> quite confusing.
>
The only way I can see this happening is if you use the compiler in a
pipe mode, piping the contents of some file to the compiler. If this is
done, and stderr is redirected to stdin, then the compiler would get the
stderr output as input to the compiler. I don't think many people use it
in this way though! This should not happen if you redirected stderr to
some other file, and not to where stdin is redirected to(from).
Obviously, it's a case where the person who did this didn't really
understand what they were trying to do, or at least what was really
happening! (no offense, whoever it was).
Fred Reimer
+-------------------------------------------------------------+
| The views expressed in the above are solely my own, and are |
| not necessarily the views of my employer. Have a nice day! |
| PGP 2.6 public key available via `finger fwreimer AT crl DOT com` |
+-------------------------------------------------------------+
- Raw text -