On Mon, Feb 18, 2019 at 11:49:18AM +1100, Michael Ellerman wrote: > Balbir Singh <bsinghar...@gmail.com> writes: > > Fair enough, my point was that the compiler can help out. I'll see what > > -Wconversion finds on my local build :) > > I get about 43MB of warnings here :)
Yes, -Wconversion complains about a lot of things that are idiomatic C. There is a reason -Wconversion is not in -Wall or -Wextra. Segher