Re: question regarding sparse warning about cast truncate

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

 



On Sun, Mar 3, 2019 at 4:36 PM Luc Van Oostenryck
<luc.vanoostenryck@xxxxxxxxx> wrote:
>
> On Sun, Mar 03, 2019 at 02:16:46PM +0100, Luc Van Oostenryck wrote:
> > I would not be opposed at all o conditionalize it with some
> > warning flag like '-Wcast-truncates-constant'. The real
> > question is if it should default to 'on' or to 'off'.
>
> In fact, the flag already exists: -W[no-]cast-truncate
Oh, thanks for this. I was looking for this flag for the past few days...

I guess I'll continue for now with this flag and check without it from
time to time.

Thanks,
oded


>
>
> -- Luc



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux