This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Suggestion for option
- To: nix at esperi dot demon dot co dot uk, amylaar at redhat dot com
- Subject: Re: Suggestion for option
- From: "RenE J.V. Bertin" <rjvbertin at hotmail dot com>
- Date: Sat, 28 Jul 2001 22:16:18 +0200
- Cc: pedwards at disaster dot jaj dot com, mark at codesourcery dot com, gcc at gcc dot gnu dot org
>On Fri, 27 Jul 2001, Joern Rennecke spake:
> >> What happens to those people when/if they use -fsyntax-only? :) I
>guess one
> >
> > If that is a problem, they just stop using -fsyntax-only (unless they
> > go and fix the compiler).
>
>But, uh, if the compile stops with errors, whyever would they care about
>the contents of the stuff shoved down the FIFO? It's garbaged anyway;
>this way it's just almost nothing, rather than garbage.
I don't think so! Whatever was sent in the FIFO is most probably already
out of it. The process reading from the pipe may get an error (SIGPIPE or
something similar), but it will have had its chances to act upon whatever
garbage it received!
I agree with Mark's comment on this: send some explanatory message or error
code that is sufficiently documented and unique.
RB
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp