[Webkit-unassigned] [Bug 235075] New: AppendPipeline.cpp:456:26: error: use of overloaded operator '!=' is ambiguous
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 11 11:03:15 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=235075
Bug ID: 235075
Summary: AppendPipeline.cpp:456:26: error: use of overloaded
operator '!=' is ambiguous
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WPE WebKit
Assignee: webkit-unassigned at lists.webkit.org
Reporter: yurys at chromium.org
CC: bugs-noreply at webkitgtk.org
After the recent switch to c++20 compilation with clang on Linux (both GTK and WPE) fails with the following error:
../../../Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:456:26: error: use of overloaded operator '!=' is ambiguous (with operand types 'GstIteratorAdaptor<_GstPad>::iterator' and 'GstIteratorAdaptor<_GstPad>::iterator')
for (GstPad* pad : GstIteratorAdaptor<GstPad>(GUniquePtr<GstIterator>(gst_element_iterate_src_pads(m_demux.get())))) {
^
../../../Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:392:14: note: candidate function
bool operator!=(const iterator& other) { return !(*this == other); }
^
../../../Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:388:14: note: candidate function
bool operator==(const iterator& other)
^
../../../Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:388:14: note: candidate function (with reversed parameter order)
../../../Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:456:28: note: in implicit call to 'operator!=' for iterator of type 'GstIteratorAdaptor<_GstPad>'
for (GstPad* pad : GstIteratorAdaptor<GstPad>(GUniquePtr<GstIterator>(gst_element_iterate_src_pads(m_demux.get())))) {
^~~~~~~~~~~~~~~~~~
../../../Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:400:14: note: selected 'begin' function with iterator type 'GstIteratorAdaptor<_GstPad>::iterator'
iterator begin()
^
../../../Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:471:26: error: use of overloaded operator '!=' is ambiguous (with operand types 'GstIteratorAdaptor<_GstPad>::iterator' and 'GstIteratorAdaptor<_GstPad>::iterator')
for (GstPad* pad : GstIteratorAdaptor<GstPad>(GUniquePtr<GstIterator>(gst_element_iterate_src_pads(m_demux.get())))) {
^
../../../Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:392:14: note: candidate function
bool operator!=(const iterator& other) { return !(*this == other); }
^
../../../Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:388:14: note: candidate function
bool operator==(const iterator& other)
^
../../../Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:388:14: note: candidate function (with reversed parameter order)
../../../Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:471:28: note: in implicit call to 'operator!=' for iterator of type 'GstIteratorAdaptor<_GstPad>'
for (GstPad* pad : GstIteratorAdaptor<GstPad>(GUniquePtr<GstIterator>(gst_element_iterate_src_pads(m_demux.get())))) {
^~~~~~~~~~~~~~~~~~
../../../Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:400:14: note: selected 'begin' function with iterator type 'GstIteratorAdaptor<_GstPad>::iterator'
iterator begin()
^
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220111/ad3497f8/attachment-0001.htm>
More information about the webkit-unassigned
mailing list