[webkit-dev] Can we disable "control reaches end of non-void function" warning on Qt?

Ryosuke Niwa rniwa at webkit.org
Thu Sep 12 16:22:42 PDT 2013


On Thu, Sep 12, 2013 at 4:19 PM, Myles C. Maxfield <myles.maxfield at gmail.com
> wrote:

> I can't speak for Qt, but this warning has been helpful for me in the past.
>

We have the same warning enabled on Mac, GTK+, etc... and I agree it's
useful.

The problem here is that the version of gcc used by Qt builders isn't smart
enough to deduce the fact the control flow never gets out of the switch
statement.

- R. Niwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130912/03e22647/attachment.html>


More information about the webkit-dev mailing list