Closed
Bug 1320891
Opened 8 years ago
Closed 8 years ago
Make some webrtc tests build with gcc 7.0 and --enable-warnings-as-errors
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(1 file)
First, in media/webrtc/signaling/test/mediaconduit_unittests.cpp, gcc 7.0 is complaining about the following:
error: suggest explicit braces to avoid ambiguous 'else' [-Werror=dangling-else]
I guess this is caused by the ASSERT_NE define. As it doesn't hurt, we can add {} to silent it.
Second, similar to bug 1320878, an expression in an assert is always returning true.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8815203 [details]
Bug 1320891 - Make some webrtc tests build with gcc 7.0 and --enable-warnings-as-errors
https://reviewboard.mozilla.org/r/96232/#review96468
Attachment #8815203 -
Flags: review?(docfaraday) → review+
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/918309d4aea0
Make some webrtc tests build with gcc 7.0 and --enable-warnings-as-errors r=bwc
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sledru
Comment 4•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•