Re: question regarding sparse warning about cast truncate

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

 



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


-- 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