Closed Bug 1783984 Opened 3 years ago Closed 3 years ago

`ac_add_options --enable-warnings-as-errors` doesn't work locally

Categories

(Firefox Build System :: General, defect)

Unspecified
Windows
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jgilbert, Unassigned)

References

Details

$ cat .mozconfig
ac_add_options --disable-debug
ac_add_options --disable-optimize

ac_add_options --enable-debug
#ac_add_options --enable-optimize

ac_add_options --enable-warnings-as-errors


[01:12:26] $? -> 0

if grep WARNINGS_AS_ERRORS obj*/config.status shows 'WARNINGS_AS_ERRORS': '-Werror',, then it works as it's supposed to.

$ grep -nrE WARNINGS_AS_ERRORS obj-x86_64-pc-mingw32/config.status
710: 'WARNINGS_AS_ERRORS': '-Werror',

Please tell me more about how this is working as intended, because it doesn't feel very useful to me, so there must be reasons!

Specifically, I ran into this most recently here: https://bugzilla.mozilla.org/show_bug.cgi?id=1779355
That builds cleanly on Windows for me with that mozconfig, but fails on CI, leading to backout.

Closing per discussion on Matrix ("Looks like this is a false alarm! Sorry, and thanks for the extra pairs of eyes!")

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.