Re: char y = 469;

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Diego Novillo" <dnovillo@xxxxxxxxxx> writes:

> On 27 Aug 2007 11:24:44 -0700, Ian Lance Taylor <iant@xxxxxxxxxx> 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux