<?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>287701</bug_id>
          
          <creation_ts>2025-02-14 07:28:22 -0800</creation_ts>
          <short_desc>[WPE][GTK] `invalid use of non-static data member` error with GCC 12</short_desc>
          <delta_ts>2025-08-11 01:26:11 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=297203</see_also>
          <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="Vitaly Dyackhov">vitaly</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2094771</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2025-02-14 07:28:22 -0800</bug_when>
    <thetext>```
In file included from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h:27,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+EvaluateCalc.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/color/CSSColorDescriptors.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/color/CSSColor.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/style/values/color/StyleColor.h:34,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/style/ScrollbarColor.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/platform/ScrollableArea.h:35,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/platform/KeyboardScrollingAnimator.h:31,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/page/Page.h:31,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/RenderObject.h:35,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/RenderElement.h:27,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/RenderLayerModelObject.h:26,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/RenderBoxModelObject.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/LegacyInlineBox.h:24,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/LegacyInlineTextBox.h:26,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/layout/integration/inline/InlineIteratorBoxLegacyPath.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/layout/integration/inline/InlineIteratorLineBoxLegacyPath.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/layout/integration/inline/InlineIteratorLineBox.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/layout/integration/inline/InlineIteratorLogicalOrderTraversal.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/editing/TextIterator.h:30,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/accessibility/AccessibilityObject.h:38,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/accessibility/AXTextMarker.h:27,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/accessibility/AXObjectCache.h:30,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/page/Chrome.h:24,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/Modules/gamepad/NavigatorGamepad.cpp:31:
/home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveData.h: In substitution of ‘template&lt;class auto:250&gt;  requires  ValidKeywordForList&lt;auto:250, WebCore::CSS::PrimitiveKeywordList&lt;Ks ...&gt; &gt; constexpr WebCore::CSS::PrimitiveDataIndex&lt;WebCore::CSS::PrimitiveNumeric&lt;WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt; &gt; &gt;::PrimitiveDataIndex(auto:250) [with auto:250 = WebCore::CSS::PrimitiveNumeric&lt;WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt; &gt;]’:
/home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveData.h:249:11:   required from ‘WebCore::CSS::PrimitiveData&lt;N, Ks&gt;::PrimitiveData(WebCore::CSS::PrimitiveData&lt;N, Ks&gt;::Raw) [with N = WebCore::CSS::PrimitiveNumeric&lt;WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt; &gt;; Ks = {}; WebCore::CSS::PrimitiveData&lt;N, Ks&gt;::Raw = WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt;]’
/home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h:87:11:   required from ‘constexpr WebCore::CSS::PrimitiveNumeric&lt; &lt;template-parameter-1-1&gt; &gt;::PrimitiveNumeric(WebCore::CSS::ValueLiteral&lt;unitValue&gt;) requires requires{{Raw(WebCore::CSS::PrimitiveNumeric&lt; &lt;template-parameter-1-1&gt; &gt;::__ct ::value)};} [with E = WebCore::CSS::LengthUnit; E unitValue = WebCore::CSS::LengthUnit::Px; RawType = WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt;]’
/home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h:258:17:   required from ‘constexpr WebCore::SpaceSeparatedArray&lt;T, N&gt;::SpaceSeparatedArray(Ts ...) [with Ts = {WebCore::CSS::ValueLiteral&lt;WebCore::CSS::LengthUnit::Px&gt;, WebCore::CSS::ValueLiteral&lt;WebCore::CSS::LengthUnit::Px&gt;, WebCore::CSS::ValueLiteral&lt;WebCore::CSS::LengthUnit::Px&gt;, WebCore::CSS::ValueLiteral&lt;WebCore::CSS::LengthUnit::Px&gt;}; T = WebCore::CSS::LengthPercentage&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}&gt;; long unsigned int N = 4]’
/home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/backgrounds/CSSBorderRadius.h:68:5:   required from here
/home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveData.h:249:11: error: invalid use of non-static data member ‘WebCore::CSS::PrimitiveNumericRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, WebCore::CSS::LengthPercentageUnit, float&gt;::value’
  249 |         , index { raw }
      |           ^~~~~~~~~~~~~
In file included from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveKeywordList.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveData.h:27,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h:27,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+EvaluateCalc.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/color/CSSColorDescriptors.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/color/CSSColor.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/style/values/color/StyleColor.h:34,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/style/ScrollbarColor.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/platform/ScrollableArea.h:35,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/platform/KeyboardScrollingAnimator.h:31,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/page/Page.h:31,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/RenderObject.h:35,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/RenderElement.h:27,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/RenderLayerModelObject.h:26,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/RenderBoxModelObject.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/LegacyInlineBox.h:24,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/LegacyInlineTextBox.h:26,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/layout/integration/inline/InlineIteratorBoxLegacyPath.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/layout/integration/inline/InlineIteratorLineBoxLegacyPath.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/layout/integration/inline/InlineIteratorLineBox.h:29,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/layout/integration/inline/InlineIteratorLogicalOrderTraversal.h:28,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/editing/TextIterator.h:30,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/accessibility/AccessibilityObject.h:38,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/accessibility/AXTextMarker.h:27,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/accessibility/AXObjectCache.h:30,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/page/Chrome.h:24,
                 from /home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/Modules/gamepad/NavigatorGamepad.cpp:31:
/home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumericRaw.h:50:12: note: declared here
   50 |     double value;
      |            ^~~~~
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094778</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2025-02-14 08:14:36 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/40621</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094841</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-14 11:50:48 -0800</bug_when>
    <thetext>Committed 290410@main (691f82307e9a): &lt;https://commits.webkit.org/290410@main&gt;

Reviewed commits have been landed. Closing PR #40621 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094842</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-02-14 11:51:18 -0800</bug_when>
    <thetext>&lt;rdar://problem/144878745&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>