This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Suppressing specific compiler warnings
- From: Steven Bosscher <steven at gcc dot gnu dot org>
- To: "Banibrata Dutta" <dutta at india dot hp dot com>,"'Ranjit Mathew'" <rmathew at gmail dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Wed, 26 May 2004 10:55:48 +0200
- Subject: Re: Suppressing specific compiler warnings
- Organization: SUSE Labs
- References: <003001c442fd$d3aff620$c0714c0f@nt13192>
On Wednesday 26 May 2004 10:45, Banibrata Dutta wrote:
> Hi Ranjit:
>
> Thanks for pointing it out. I'd seen the -Wno-xxx so many times,
> but never thought about the reason for using it.
>
> BTW, wouldn't it be a good feature if all warnings (and errors)
> were numbered, s.t. final warning (or error) displayed is something
> like a --
> <number>: <warning/error message>
>
> And then have option like -Wno-<number>... Something quite similar
> to the HP compilers!
> Also, this would make the process of internationalization of gcc/g++
> easy.
This, too, had been discussed before with no definitive outcome,
unfortunately. See for example this thread
http://gcc.gnu.org/ml/gcc/1998-09/msg00353.html
With a little googling you can probably find a few more of those.
Gr.
Steven