This is the mail archive of the gcc-patches@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: [patch] Add a new warning flag -Wself-assign


On 09/06/2010 19:31, Le-Chun Wu wrote:

> 
> Our recommendation is to use `(void) x' or `static_cast<void>(x)'
> instead, which should also be portable. (I actually added this
> recommendation in the documentation of -Wunused flag in my patch.)

  So you did!  Sorry for overlooking that.

    cheers,
      DaveK


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