gcc for syntax check only (C): need to read source from stdin
Zack Weinberg
zack@codesourcery.com
Tue Apr 12 17:31:00 GMT 2005
"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
More information about the Gcc
mailing list