Closed
Bug 2057184
Opened 22 days ago
Closed 22 days ago
Enable -Wunused-but-set-variable and -Wunused-but-set-global in coreconf/werror.py
Categories
(NSS :: Build, task)
NSS
Build
Tracking
(nss 3.127)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| nss | --- | 3.127 |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
Details
Attachments
(1 file)
Enable -Wunused-but-set-variable and -Wunused-but-set-global in the GYP build's coreconf/werror.py so this class of dead code is flagged before it reaches consumers building with -Werror. Both warnings are guarded by warning_supported(), so compilers that don't recognize them are unaffected.
| Assignee | ||
Updated•22 days ago
|
Assignee: nobody → sledru
| Assignee | ||
Comment 1•22 days ago
|
||
Enable -Wunused-but-set-variable and -Wunused-but-set-global so the GYP
build (and CI) flags this class of dead code before it reaches consumers
building with -Werror. Both are guarded by warning_supported(), so
compilers that don't recognize them are unaffected.
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/projects/nss/rev/45be2bee1961
Enable -Wunused-but-set-variable/-global in werror.py r=nss-reviewers,keeler
Status: NEW → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Updated•2 days ago
|
status-nss:
--- → 3.127
You need to log in
before you can comment on or make changes to this bug.
Description
•