[Clang 5.0] dom/media/ipc/RemoteVideoDecoder.cpp:70:19: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]

RESOLVED FIXED in Firefox 57

Status

()

Core
Audio/Video: Playback
RESOLVED FIXED
10 months ago
6 months ago

People

(Reporter: Jan Beich, Assigned: Jan Beich)

Tracking

(Blocks: 2 bugs, {regression})

Trunk
mozilla57
Unspecified
FreeBSD
regression
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox-esr52 unaffected, firefox55 unaffected, firefox56 unaffected, firefox57 fixed)

Details

MozReview Requests

()

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

(Assignee)

Description

10 months ago
$ c++ -v
FreeBSD clang version 5.0.0 (branches/release_50 312293) (based on LLVM 5.0.0svn)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin

$ echo "ac_add_options --enable-warnings-as-errors # mimic MOZ_AUTOMATION" >>.mozconfig
$ ./mach build
[...]
dom/media/ipc/RemoteVideoDecoder.cpp:70:19: error: lambda capture 'this' is not used
      [-Werror,-Wunused-lambda-capture]
           [self, this](const MediaResult& aError) {
                  ^
1 error generated.
Comment hidden (mozreview-request)

Comment 2

10 months ago
mozreview-review
Comment on attachment 8904330 [details]
Bug 1396643: Fix compilation when warning as error is set.

https://reviewboard.mozilla.org/r/176106/#review181076
Attachment #8904330 - Flags: review?(cpearce) → review+

Comment 3

10 months ago
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1c472f0b2449
Fix compilation when warning as error is set. r=cpearce
Blocks: 712350
Assignee: nobody → jbeich
https://hg.mozilla.org/mozilla-central/rev/1c472f0b2449
Status: NEW → RESOLVED
Last Resolved: 10 months ago
status-firefox57: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
status-firefox55: --- → unaffected
status-firefox56: --- → unaffected
status-firefox-esr52: --- → unaffected
Blocks: 1375385
Blocks: 1427842
No longer blocks: 712350
You need to log in before you can comment on or make changes to this bug.