This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Named warnings
>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:
Mark> It's not that I disagree with your logic; just that I weight things
Mark> differently. For example, you could map mnemonics to the numbers
Mark> in a (natural)-language dependent way; in English "mark-moron" could
Mark> be a synonym for "123", but in French you could use something else.
One facet of Stan's proposal that I liked was the idea that the
command-line switches and #pragmas would use the same names. That
means that any effort I put into learning one can be immediately
applied to the other.
For me this consideration is a strike against using numbers. Also, it
seems to me that all the pro-number arguments also apply to changing
the switches to be numbers... but I really wouldn't like to write
`gcc -W3251 -W37 -W129'.
I do sympathize with the non-English-centric aspect of using numbers.
However, it seems to me that all the gcc long options are already in
English, and that almost all the warning options fall into this
category. Anybody using gcc already has to deal with this.
Tom