Loading...

gcc-help@gcc.gnu.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: char y = 469; Diego Novillo Wed Aug 29 00:04:25 2007

On 8/25/07, stf_polska <[EMAIL PROTECTED]> wrote:

> How to get a warning for this:
>
>      int x = 469;
>      char y = x;

Use the -Wconversion switch.