To unsubscribe from this group and stop receiving emails from it, send an email to gn-dev+un...@chromium.org.
On Wed, Nov 4, 2015 at 10:12 AM, Ben Boeckel <ben.b...@kitware.com> wrote:On Wed, Nov 04, 2015 at 14:41:27 +0000, Sylvain Defresne wrote:
> Why do you need to build without -Werror? Wouldn't it be better to fix the
> warnings causing the error or selectively disabling them instead of
> completely removing -Werror.
In general, for developers, -Werror is fine, but for folks with other
compilers, some warnings may be noise (think new warnings added to GCC
which have a high false-positive rate or using icc/pgi).
For example, Fedora usually bumps its compiler earlier than many
upstreams, so it is left with the wreckage of a package using -Werror
with the new warnings in the updated compiler.
Not sure how much this applies to Chromium, but that'd be a reason for
having an option at least (though the default would still be arguable).I was assuming Paweł was asking about Chromium in particular, and ifthere were downstream packagers that needed this that would be a goodreason.
On Wed, Nov 4, 2015 at 10:18 AM, Dirk Pranke <dpr...@chromium.org> wrote:On Wed, Nov 4, 2015 at 10:12 AM, Ben Boeckel <ben.b...@kitware.com> wrote:On Wed, Nov 04, 2015 at 14:41:27 +0000, Sylvain Defresne wrote:
> Why do you need to build without -Werror? Wouldn't it be better to fix the
> warnings causing the error or selectively disabling them instead of
> completely removing -Werror.
In general, for developers, -Werror is fine, but for folks with other
compilers, some warnings may be noise (think new warnings added to GCC
which have a high false-positive rate or using icc/pgi).
For example, Fedora usually bumps its compiler earlier than many
upstreams, so it is left with the wreckage of a package using -Werror
with the new warnings in the updated compiler.
Not sure how much this applies to Chromium, but that'd be a reason for
having an option at least (though the default would still be arguable).I was assuming Paweł was asking about Chromium in particular, and ifthere were downstream packagers that needed this that would be a goodreason.Actually, re-reading this now, I was mis-parsing what Paweł wrote. Giventhat there is a GYP flag, I would be more inclined to add a GN flag for parity,but I'd still like to know in what cases we actually need to use it (or who isactually using it), rather than the theoretical "some people might want to setthis" reason, which I fully understand.