This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Suppressing specific compiler warnings
Phil Edwards <phil@codesourcery.com> writes:
| [I'm on the list, please don't cc me.]
|
|
| On Wed, May 26, 2004 at 01:17:36PM -0600, llewelly@xmission.com wrote:
| > >
| > > And then have option like -Wno-<number>... Something quite similar
| > > to the HP compilers!
| >
| > Numbers are for computers. Names for people. A generalization,
| > but I am opposed to numbering warning kinds, on the
| > grounds that numbers tend to be harder to remember. If you are
| > reading a makefile, and you see -Wno-1492, you have no clue why,
| > but if you see -Wno-unused you know what is going on.
|
| I tend to agree.
I strongly agree.
| > > Also, this would make the process of internationalization of gcc/g++
| > > easy.
| >
| > Pardon my ignorance, but how so?
|
| With numbers, the only string that needs to be translated is "no-". With
| names, they /all/ need meaningful translations.
Yes, but that is why we're called tool builders, not just machine
trainers :-)
-- Gaby