This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc for syntax check only (C): need to read source from stdin


"Dave Korn" <dave.korn@artimi.com> writes:

>   Then the error message *really* ought to say
>
> gcc: -E or -x required when input is from standard input
>
> since it is thoroughly obtuse and non-explanatory as it stands.  The
> attached is against 4.0 RC1, but I imagine it'll apply cleanly to HEAD with
> just a little fuzz, if people feel it's the right thing.

Yes, I think this is the right thing.  Please test against mainline
and apply it there if successful.  I don't think it is important
enough to put into 4.0.0, but you should put it on the 4.0 branch
after the release, and maybe the 3.4 branch as well.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]