On Mon, Mar 6, 2017 at 8:23 PM, Linus Torvalds
<torva...@linux-foundation.org> wrote:
>
> I'd love to have some way to automatically find the places where we do
> that "implicit cast from FP to int without proper rounding", but I
> don't know of any such tool (sparse could be modified to do it, but
> doesn't do C++).

Hmm. I guess there's "-Wfloat-conversion". It might cause excessive
warnings. I'll try.

                 Linus
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to