Bug 189203 - Compile error in RealtimeOutgoingVideoSource.cpp; unused parameter in libwebrtc header
Summary: Compile error in RealtimeOutgoingVideoSource.cpp; unused parameter in libwebr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-08-31 12:50 PDT by Jer Noble
Modified: 2018-09-07 12:39 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.57 KB, patch)
2018-08-31 12:52 PDT, Jer Noble
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jer Noble 2018-08-31 12:50:18 PDT
Compile error in RealtimeOutgoingVideoSource.cpp; unused parameter in libwebrtc header
Comment 1 Jer Noble 2018-08-31 12:52:12 PDT
Created attachment 348665 [details]
Patch
Comment 2 WebKit Commit Bot 2018-08-31 16:22:55 PDT
Comment on attachment 348665 [details]
Patch

Clearing flags on attachment: 348665

Committed r235575: <https://trac.webkit.org/changeset/235575>
Comment 3 WebKit Commit Bot 2018-08-31 16:22:57 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2018-08-31 16:23:16 PDT
<rdar://problem/43960652>
Comment 5 Darin Adler 2018-09-01 21:29:56 PDT
Would be nice to eventually change this in libwebrtc itself unless there is some reason the header has to have an unused parameter in it. Even if the libwebrtc project itself doesn’t want to compile with this warning, it’s nice for headers at least to be compatible with it.
Comment 6 youenn fablet 2018-09-07 12:39:33 PDT
(In reply to Darin Adler from comment #5)
> Would be nice to eventually change this in libwebrtc itself unless there is
> some reason the header has to have an unused parameter in it. Even if the
> libwebrtc project itself doesn’t want to compile with this warning, it’s
> nice for headers at least to be compatible with it.

We started discussing with the project upstream but there is no concrete plan yet there.
I am not sure how tractable it would be for the upstream project to make the headers compatible without actually enforcing this at compile time.

We were previously patching these files but this proved to be a hurdle for every libwebrtc refresh.
We should probably try to reduce WebCore dependency on libwebrtc headers.