char y = 469;

Ian Lance Taylor iant@google.com
Mon Aug 27 19:26:00 GMT 2007


"Diego Novillo" <dnovillo@google.com> writes:

> On 27 Aug 2007 11:24:44 -0700, Ian Lance Taylor <iant@google.com> wrote:
> 
> > This warning is (or, rather, will be) new with gcc 4.3.0, when gcc
> > 4.3.0 is released.
> 
> You mean the functionality, right?  IIRC, -Wconversion used to work in
> function arguments (if x and y were function arguments in this test,
> for instance).

Yes, the functionality--that is, this specific warning, among others.
As you say, -Wconversion in general is not new.

This was due to a Google Summer of Code project last year:
    http://gcc.gnu.org/wiki/Wcoercion

Ian



More information about the Gcc-help mailing list