<?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>284850</bug_id>
          
          <creation_ts>2024-12-17 15:23:39 -0800</creation_ts>
          <short_desc>SkScalar.h:151:50: error: &apos;a&apos; is an unsafe pointer used for buffer access [-Werror,-Wunsafe-buffer-usage]</short_desc>
          <delta_ts>2024-12-17 15:35:30 -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>WebKitGTK</component>
          <version>Other</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2082505</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-12-17 15:23:39 -0800</bug_when>
    <thetext>WebKitGTK build is broken with Clang 19.1.5:

In file included from /home/mcatanzaro/Projects/.gnome-builder/projects/WebKit/builds/default-jhbuild-x86_64-eng-Use-UnixFileDescriptor-in-IPC-and-ProcessLauncher/DerivedSources/WebKit/unified-sources/UnifiedSource-54928a2b-33.cpp:1:
In file included from /home/mcatanzaro/Projects/WebKit/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp:46:
In file included from /home/mcatanzaro/Projects/.gnome-builder/projects/WebKit/builds/default-jhbuild-x86_64-eng-Use-UnixFileDescriptor-in-IPC-and-ProcessLauncher/Skia/Headers/mod/skia/modules/svg/SkSVGOpenTypeSVGDecoder.h:11:
In file included from /home/mcatanzaro/Projects/WebKit/Source/ThirdParty/skia/include/core/SkColor.h:12:
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/skia/include/core/SkScalar.h:151:50: error: &apos;a&apos; is an unsafe pointer used for buffer access [-Werror,-Wunsafe-buffer-usage]
  151 | static inline bool SkScalarsEqual(const SkScalar a[], const SkScalar b[], int n) {
      |                                   ~~~~~~~~~~~~~~~^~~
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/skia/include/core/SkScalar.h:154:13: note: used in buffer access here
  154 |         if (a[i] != b[i]) {
      |             ^
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/skia/include/core/SkScalar.h:151:70: error: &apos;b&apos; is an unsafe pointer used for buffer access [-Werror,-Wunsafe-buffer-usage]
  151 | static inline bool SkScalarsEqual(const SkScalar a[], const SkScalar b[], int n) {
      |                                                       ~~~~~~~~~~~~~~~^~~
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/skia/include/core/SkScalar.h:154:21: note: used in buffer access here
  154 |         if (a[i] != b[i]) {
      |                     ^</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082508</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-12-17 15:25:56 -0800</bug_when>
    <thetext>We probably need to do a comprehensive audit of Skia headers and ignore warnings everywhere, but for now I&apos;ll just fix the immediate problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082509</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-12-17 15:33:11 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/38107</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082511</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-12-17 15:35:28 -0800</bug_when>
    <thetext>Committed 287970@main (dbf8530502c9): &lt;https://commits.webkit.org/287970@main&gt;

Reviewed commits have been landed. Closing PR #38107 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>