This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: named warnings & individual warning control
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: shebs at apple dot com (Stan Shebs)
- Cc: Joe dot Buck at synopsys dot COM (Joe Buck), mark at codesourcery dot com (Mark Mitchell), dj at redhat dot com (DJ Delorie), gcc at gcc dot gnu dot org
- Date: Fri, 25 Jun 2004 22:33:41 -0400 (EDT)
- Subject: Re: named warnings & individual warning control
>
> Joe Buck wrote:
>
> >On Fri, Jun 25, 2004 at 04:02:19PM -0700, Stan Shebs wrote:
> Or,
>
> T* ptr_T __attribute__((I_know_what_Im_doing));
>
> to suppress the warning selectively, if the user absolutely
> must make it go away.
Or use the documented way of getting disable the warning:
T *ptr_T = ptr_T;
(which can be turned off by -Winit-self).
Thanks,
Andrew Pinski