On 06/03/2014 04:25 PM, Mike Hommey wrote:
> As for warning-as-errors, it's not meant to be used for local builds,
> because different compilers don't come with the same set of warnings.

I think that might be putting it a bit too strongly.  Warnings-as-errors
absolutely *is* meant to be used with local builds (so that you'll be
able to catch most issues locally instead of as build failures on Try or
Inbound).

You're very much right about this caveat, though:
> when compiling with a compiler that doesn't match what's used on
> automation, yes, you risk hitting new warnings, and failing to build as
> a consequence.

(This is why it's encouraged, but not the default behavior.)

This risk is fairly low if you're using a commonly-used (albeit
not-on-TBPL) compiler, because that makes it more likely that other devs
will have caught & fixed any potential issues before you hit them.

~Daniel
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to