Open
Bug 2084061
Opened 26 days ago
Updated 17 days ago
Investigate treating NSIS compiler warnings as errors with /WX
Categories
(Firefox :: Installer, enhancement, P3)
Tracking
()
NEW
People
(Reporter: mferreiro, Assigned: spohl)
References
(Depends on 4 open bugs)
Details
(Whiteboard: [FIDE-engagement])
Attachments
(2 external files)
Bug 2070532 exposed an NSIS compiler warning about an unreferenced
GetPostUpdateTarget function during Firefox packaging. In comment 3,
Aurora suggested considering the /WX flag to treat warnings as errors
and catch similar issues earlier.
Investigate whether we can enable /WX for Firefox's NSIS compilation.
Scope:
- Identify the relevant makensis invocations in packaging and tests.
- Verify support in the NSIS version used by our build infrastructure.
- Assess existing warnings across the relevant build configurations
and identify any blockers to enabling /WX. - Recommend where to enable it and file follow-up bugs as needed.
Expected outcome:
A documented recommendation and, if feasible, a patch enabling /WX,
with validation that compiler warnings cause the affected build step
to fail.
Updated•26 days ago
|
Whiteboard: FIDE-engagement → [FIDE-engagement]
Updated•26 days ago
|
| Assignee | ||
Comment 1•22 days ago
|
||
| Assignee | ||
Comment 2•22 days ago
|
||
Pushed by spohl@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/c6f8a397348c
https://hg.mozilla.org/integration/autoland/rev/3a7822e4bfcc
Fix existing string-formatting warnings in `moz.configure`. r=firefox-build-system-reviewers,sergesanspaille
Pushed by nfay@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/4fc7662e357c
https://hg.mozilla.org/integration/autoland/rev/8f7c31e312e2
Revert "Bug 2084061: Fix existing string-formatting warnings in `moz.configure`. r=firefox-build-system-reviewers,sergesanspaille" for causing mozbuild failures
Comment 5•20 days ago
|
||
Flags: needinfo?(mferreiro)
| Assignee | ||
Updated•20 days ago
|
Flags: needinfo?(mferreiro) → needinfo?(spohl.mozilla.bugs)
| Assignee | ||
Comment 6•20 days ago
|
||
(In reply to Norisz Fay [:noriszfay] from comment #5)
Backed out for causing mozbuild failures
Oh, I didn't mean to land this patch before we had https://phabricator.services.mozilla.com/D336507 reviewed. I'll fix things up and hold it.
Flags: needinfo?(spohl.mozilla.bugs)
| Reporter | ||
Updated•19 days ago
|
Assignee: mferreiro → spohl.mozilla.bugs
Updated•18 days ago
|
Attachment #9667508 -
Attachment description: Bug 2084061: Honor warnings-as-errors when compiling Firefox NSIS scripts. r?#firefox-build-system-reviewers,#browser-installer-reviewers!,yjuglaret! → Bug 2084061: Treat Firefox NSIS compiler warnings as errors. r?#firefox-build-system-reviewers,#browser-installer-reviewers!,yjuglaret!
| Assignee | ||
Updated•17 days ago
|
Severity: -- → N/A
You need to log in
before you can comment on or make changes to this bug.
Description
•