<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>235493</bug_id>
          
          <creation_ts>2022-01-23 07:12:56 -0800</creation_ts>
          <short_desc>[GStreamer] C++20 warnings</short_desc>
          <delta_ts>2022-01-23 11:30:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Philippe Normand">pnormand</assigned_to>
          <cc>calvaris</cc>
    
    <cc>cgarcia</cc>
    
    <cc>darin</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>gustavo</cc>
    
    <cc>menard</cc>
    
    <cc>vjaquez</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1833087</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-01-23 07:12:56 -0800</bug_when>
    <thetext>/app/webkit/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:456:26: warning: ISO C++20 considers use of overloaded operator &apos;!=&apos; (with operand types &apos;GstIteratorAdaptor&lt;_GstPad&gt;::iterator&apos; and &apos;GstIteratorAdaptor&lt;_GstPad&gt;::iterator&apos;) to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
        for (GstPad* pad : GstIteratorAdaptor&lt;GstPad&gt;(GUniquePtr&lt;GstIterator&gt;(gst_element_iterate_src_pads(m_demux.get())))) {
                         ^
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:392:14: note: candidate function with non-reversed arguments
        bool operator!=(const iterator&amp; other) { return !(*this == other); }
             ^
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:388:14: note: ambiguous candidate function with reversed arguments
        bool operator==(const iterator&amp; other)
             ^
/app/webkit/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:471:26: warning: ISO C++20 considers use of overloaded operator &apos;!=&apos; (with operand types &apos;GstIteratorAdaptor&lt;_GstPad&gt;::iterator&apos; and &apos;GstIteratorAdaptor&lt;_GstPad&gt;::iterator&apos;) to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
        for (GstPad* pad : GstIteratorAdaptor&lt;GstPad&gt;(GUniquePtr&lt;GstIterator&gt;(gst_element_iterate_src_pads(m_demux.get())))) {
                         ^
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:392:14: note: candidate function with non-reversed arguments
        bool operator!=(const iterator&amp; other) { return !(*this == other); }
             ^
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:388:14: note: ambiguous candidate function with reversed arguments
        bool operator==(const iterator&amp; other)
             ^
2 warnings generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1833088</commentid>
    <comment_count>1</comment_count>
      <attachid>449749</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-01-23 08:25:28 -0800</bug_when>
    <thetext>Created attachment 449749
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1833100</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-01-23 09:33:02 -0800</bug_when>
    <thetext>*** Bug 235075 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1833117</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-01-23 11:29:02 -0800</bug_when>
    <thetext>Committed r288422 (246313@main): &lt;https://commits.webkit.org/246313@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 449749.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1833118</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-01-23 11:30:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/87944376&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>449749</attachid>
            <date>2022-01-23 08:25:28 -0800</date>
            <delta_ts>2022-01-23 11:29:05 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-235493-20220123082527.patch</filename>
            <type>text/plain</type>
            <size>1900</size>
            <attacher name="Philippe Normand">pnormand</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjg4NDE3CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggN2JhOTBkODNiMTk2OTA3
ZDc3ZTk1OTcwZWMzODJiZDNhNmE3NDhlZS4uNjc4MGE4M2JiOTI1YmRjMzAyZDRjZmZjNDJkOTA5
Yjk1YjQ2ZmMxNyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE5IEBACisyMDIyLTAxLTIzICBQaGls
aXBwZSBOb3JtYW5kICA8cG5vcm1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