Closed
Bug 1245727
Opened 8 years ago
Closed 8 years ago
Detect GCC more reliably for -Werror
Categories
(NSS :: Test, defect)
NSS
Test
Tracking
(firefox47 affected)
RESOLVED
FIXED
3.23
Tracking | Status | |
---|---|---|
firefox47 | --- | affected |
People
(Reporter: mt, Assigned: mt)
References
Details
Attachments
(2 files)
5.50 KB,
patch
|
Details | Diff | Splinter Review | |
1.60 KB,
patch
|
ekr
:
review+
|
Details | Diff | Splinter Review |
The -Werror stuff is a little too broad, which causes build failures on some platforms. This reduces the scope to all gcc-like compilers (those that support -Werror -Wall). ekr, I'm looking for a relatively fast turnaround, feel free to punt to Kai if it's too late. I'll add a patch with `diff -w` so that you can see how little has really changed.
Attachment #8715611 -
Flags: review?(ekr)
Assignee | ||
Comment 2•8 years ago
|
||
Adding Tim since this is relevant to the changes he is making for ChaCha20+Poly1305 (maybe Tim can review this instead).
Comment 3•8 years ago
|
||
Comment on attachment 8715613 [details] [diff] [review] werror-w.patch Review of attachment 8715613 [details] [diff] [review]: ----------------------------------------------------------------- r=me with fixes below ::: coreconf/Werror.mk @@ +3,5 @@ > # License, v. 2.0. If a copy of the MPL was not distributed with this > # file, You can obtain one at http://mozilla.org/MPL/2.0/. > > +# This sets WARNING_CFLAGS for gcc-like compilers. > + Extra space @@ +12,3 @@ > > ifndef CC_NAME > + ifneq (1,$(CC_IS_GCC)) Per discussion with MT this is backwards
Attachment #8715613 -
Flags: review+
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/projects/nss/rev/ac0410997982
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.23
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8715611 [details] [diff] [review] werror.patch Review of attachment 8715611 [details] [diff] [review]: ----------------------------------------------------------------- This ain't gonna happen.
Attachment #8715611 -
Flags: review?(ekr)
You need to log in
before you can comment on or make changes to this bug.
Description
•