This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: handling of warnings
skaller <skaller@ozemail.com.au> writes:
[...]
| > Every other compilers, ICC, Portland's, I know errors out on unknown
| > options also.
|
| Just because they're all sheep doesn't mean gcc has to follow.
|
| But please note: I'm only talking about *warning control options*
| here, not general options. I agree, if a semantic or model
| control option is wrong, the compiler should error out.
The same is true for switches that control warning.
If we accepted that option in 3.2.x without saying anything, how could
you tell whether we understood your request but implemented something
wrong, or we didn't undertand your request?
-- Gaby