On Mon, May 24 2021 at 07:36:03 PM -0700, Darin Adler via webkit-dev
<webkit-dev@lists.webkit.org> wrote:
I do not know why we do not already use -Werror on GTK and WPE and I
support using it there after fixing all the warnings.
I'd be willing to enable it at the CMake level if it was conditional on
-DENABLE_DEVELOPER_MODE=ON. I tried proposing that previously in
https://bugs.webkit.org/show_bug.cgi?id=155047 but it was not approved
at the time.
Of course we can't enable -Werror by default, though, since it would be
offensive to distributors and non-WebKit developers trying to build
WebKit. And it would make bisecting pretty hard for ourselves too. We
don't want non-EWS builds to fail just because you're using a newer
compiler or a different optimization level that causes warnings to be
more sensitive. So it should only be used on EWS or in DEVELOPER_MODE.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev