This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Named warnings
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Stan Shebs <shebs at apple dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: 24 Jan 2003 10:20:28 +0100
- Subject: Re: RFC: Named warnings
- Organization: Integrable Solutions
- References: <44560000.1043396122@warlock.codesourcery.com>
Mark Mitchell <mark@codesourcery.com> writes:
[...]
| So, in favor of numbers:
[...]
| - They're language-independent.
I disagree. *Some* warnings are language-independent -- thery are
usually triggered by middle- or back-end. Others are highly
language-dependent. Trying to make a number means different warnings
depending on the selected language is very confusing.
Named warnins has the advantages to be more self-descriptive than
numbers. Computers are very good at that. I fear only a very
limited number of humans are equally good at that.
-- Gaby