<?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>279828</bug_id>
          
          <creation_ts>2024-09-17 10:17:00 -0700</creation_ts>
          <short_desc>[GStreamer][WebRTC] Build error with -Werror=unitialized in GCC 13</short_desc>
          <delta_ts>2024-09-17 18:56:30 -0700</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="Carlos Bentzen">cadubentzen</reporter>
          <assigned_to name="Carlos Bentzen">cadubentzen</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2060793</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Bentzen">cadubentzen</who>
    <bug_when>2024-09-17 10:17:00 -0700</bug_when>
    <thetext>In file included from /host/home/alex/checkout/WebKit/Source/WebCore/platform/MediaCapabilitiesDecodingInfo.h:29,
                 from /host/home/alex/checkout/WebKit/Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCProvider.cpp:28,
                 from /host/home/alex/checkout/WebKit/WebKitBuild/WPE/Release/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-72.cpp:1:
In copy constructor ‘constexpr WebCore::MediaDecodingConfiguration::MediaDecodingConfiguration(const WebCore::MediaDecodingConfiguration&amp;)’,
    inlined from ‘constexpr WebCore::MediaCapabilitiesDecodingInfo::MediaCapabilitiesDecodingInfo(const WebCore::MediaCapabilitiesDecodingInfo&amp;)’ at /host/home/alex/checkout/WebKit/Source/WebCore/platform/MediaCapabilitiesDecodingInfo.h:33:8,
    inlined from ‘constexpr std::_Optional_payload_base&lt;_Tp&gt;::_Storage&lt;_Up, false&gt;::_Storage(std::in_place_t, _Args&amp;&amp; ...) [with _Args = {WebCore::MediaCapabilitiesDecodingInfo&amp;}; _Up = WebCore::MediaCapabilitiesDecodingInfo; _Tp = WebCore::MediaCapabilitiesDecodingInfo]’ at /usr/include/c++/13/optional:244:8,
    inlined from ‘constexpr std::_Optional_payload_base&lt;_Tp&gt;::_Optional_payload_base(std::in_place_t, _Args&amp;&amp; ...) [with _Args = {WebCore::MediaCapabilitiesDecodingInfo&amp;}; _Tp = WebCore::MediaCapabilitiesDecodingInfo]’ at /usr/include/c++/13/optional:126:4,
    inlined from ‘constexpr std::_Optional_payload&lt;WebCore::MediaCapabilitiesDecodingInfo, true, false, false&gt;::_Optional_payload(std::in_place_t, _Args&amp;&amp; ...) [with _Args = {WebCore::MediaCapabilitiesDecodingInfo&amp;}][inherited from std::_Optional_payload_base&lt;WebCore::MediaCapabilitiesDecodingInfo&gt;]’ at /usr/include/c++/13/optional:399:42,
    inlined from ‘constexpr std::_Optional_payload&lt;WebCore::MediaCapabilitiesDecodingInfo, false, false, false&gt;::_Optional_payload(std::in_place_t, _Args&amp;&amp; ...) [with _Args = {WebCore::MediaCapabilitiesDecodingInfo&amp;}][inherited from std::_Optional_payload_base&lt;WebCore::MediaCapabilitiesDecodingInfo&gt;]’ at /usr/include/c++/13/optional:433:57,
    inlined from ‘constexpr std::_Optional_base&lt;_Tp, &lt;anonymous&gt;, &lt;anonymous&gt; &gt;::_Optional_base(std::in_place_t, _Args&amp;&amp; ...) [with _Args = {WebCore::MediaCapabilitiesDecodingInfo&amp;}; typename std::enable_if&lt;is_constructible_v&lt;_Tp, _Args ...&gt;, bool&gt;::type &lt;anonymous&gt; = false; _Tp = WebCore::MediaCapabilitiesDecodingInfo; bool &lt;anonymous&gt; = false; bool &lt;anonymous&gt; = false]’ at /usr/include/c++/13/optional:523:4,
    inlined from ‘constexpr std::optional&lt;_Tp&gt;::optional(_Up&amp;&amp;) [with _Up = WebCore::MediaCapabilitiesDecodingInfo&amp;; typename std::enable_if&lt;__and_v&lt;std::__not_&lt;std::is_same&lt;std::optional&lt;_Tp&gt;, typename std::remove_cv&lt;typename std::remove_reference&lt;_Iter&gt;::type&gt;::type&gt; &gt;, std::__not_&lt;std::is_same&lt;std::in_place_t, typename std::remove_cv&lt;typename std::remove_reference&lt;_Iter&gt;::type&gt;::type&gt; &gt;, std::is_constructible&lt;_Tp, _Up&gt;, std::is_convertible&lt;_Iter, _Iterator&gt; &gt;, bool&gt;::type &lt;anonymous&gt; = true; _Tp = WebCore::MediaCapabilitiesDecodingInfo]’ at /usr/include/c++/13/optional:751:47,
    inlined from ‘virtual std::optional&lt;WebCore::MediaCapabilitiesDecodingInfo&gt; WebCore::GStreamerWebRTCProvider::videoDecodingCapabilitiesOverride(const WebCore::VideoConfiguration&amp;)’ at /host/home/alex/checkout/WebKit/Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCProvider.cpp:134:19:
/host/home/alex/checkout/WebKit/Source/WebCore/platform/mediacapabilities/MediaDecodingConfiguration.h:33:8: error: ‘info.WebCore::MediaCapabilitiesDecodingInfo::supportedConfiguration.WebCore::MediaDecodingConfiguration::type’ is used uninitialized [-Werror=uninitialized]
   33 | struct MediaDecodingConfiguration : MediaConfiguration {
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/home/alex/checkout/WebKit/Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCProvider.cpp: In member function ‘virtual std::optional&lt;WebCore::MediaCapabilitiesDecodingInfo&gt; WebCore::GStreamerWebRTCProvider::videoDecodingCapabilitiesOverride(const WebCore::VideoConfiguration&amp;)’:
/host/home/alex/checkout/WebKit/Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCProvider.cpp:118:35: note: ‘info’ declared here
  118 |     MediaCapabilitiesDecodingInfo info;
      |                                   ^~~~
cc1plus: all warnings being treated as errors
[76/1009] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-043dd90b-40.cpp.o

Patch soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2060794</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Bentzen">cadubentzen</who>
    <bug_when>2024-09-17 10:18:26 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/33776</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2060917</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-09-17 18:54:36 -0700</bug_when>
    <thetext>Committed 283814@main (56b681c9b0d1): &lt;https://commits.webkit.org/283814@main&gt;

Reviewed commits have been landed. Closing PR #33776 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2060918</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-09-17 18:56:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/136191514&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>