Closed
Bug 1085635
Opened 10 years ago
Closed 10 years ago
Support building B2G with "ac_add_options --enable-warnings-as-errors", via .userconfig / "default-gecko-config" scripts
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1073003
People
(Reporter: dholbert, Unassigned)
Details
Soon,[1] it should be conceivable for people to build B2G with --enable-warnings-as-errors (to enforce our existing FAIL_ON_WARNINGS annotations from moz.build files, in known-to-be-warning-free directories).
As far as I know, B2G's gecko is normally configured using a .userconfig file, which gets passed through gonk-misc/default-gecko-config (I think?), which generates a mozconfig. I don't think that process allows people to opt in to getting "ac_add_options --enable-warnings-as-errors". We should do whatever is required to make that possible. (maybe adding a new .userconfig variable which gets checked by default-gecko-config)
Moreover, we should make our TBPL builders opt into this, as we do for other platforms. (but first things first, we need to make it available for people to use locally.)
[CC'ing a few folks who've touched gonk-misc/default-gecko-config in the past.]
[1] ("soon" because bug 915555 currently causes build warnings in pretty much every .cpp file everywhere, which means nothing is warning-free, which meant supposedly-warning-free-code would error-out. But once we start using a newer GCC version [bug 1077549], that should no longer be a problem.)
[2] https://github.com/mozilla-b2g/gonk-misc/blob/master/default-gecko-config
Reporter | ||
Updated•10 years ago
|
Summary: Support building B2G with "ac_add_options --enable-warnings-as-errors" → Support building B2G with "ac_add_options --enable-warnings-as-errors", via .userconfig / "default-gecko-config" scripts
Comment 1•10 years ago
|
||
Some relevant bugs I've filed recently:
Bug 1073003 - Allow enabling warnings-as-errors from .userconfig
Bug 1073081 - Allow building with warnings-as-errors on B2G
Updated•10 years ago
|
Reporter | ||
Comment 2•10 years ago
|
||
Thanks! Yeah, I think this is a dupe of bug 1073003.
Reporter | ||
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•