This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suppressing specific compiler warnings


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]