This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Disable warnings in code
- From: dewar at gnat dot com (Robert Dewar)
- To: gcc at gcc dot gnu dot org, tron dot thomas at verizon dot net
- Date: Sat, 15 Nov 2003 07:54:29 -0500 (EST)
- Subject: Re: Disable warnings in code
> What is the reason that the GCC compiler does not support a feature to
> disable compiler warning from within the source code?
> Most other major compiler support this capability. What is GCC's
> reluctance to implement it?
Not clear there is any reluctance here. If you think it
is a useful feature, propose a language feature and propose an
implementation.
Note that this feature does exist in GNAT (pragma Warnings)