[Webkit-unassigned] [Bug 284779] New: REGRESSION(287859 at main): Building with USE_SKIA_OPENTYPE_SVG=ON fails with Clang 18.1+

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 16 14:14:10 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=284779

            Bug ID: 284779
           Summary: REGRESSION(287859 at main): Building with
                    USE_SKIA_OPENTYPE_SVG=ON fails with Clang 18.1+
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

In file included from /home/aperez/devel/WebKit/Source/ThirdParty/skia/src/xml/SkDOM.cpp:8:
In file included from /home/aperez/devel/WebKit/Source/ThirdParty/skia/src/xml/SkDOM.h:14:
In file included from /home/aperez/devel/WebKit/Source/ThirdParty/skia/include/private/base/SkTemplates.h:22:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/memory:78:
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:91:16: error: invalid application of 'sizeof' to an incomplete type 'SkDOMParser'
   91 |  static_assert(sizeof(_Tp)>0,
      |                ^~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:399:4: note: in instantiation of member function 'std::default_delete<SkDOMParser>::operator()' requested here
  399 |    get_deleter()(std::move(__ptr));
      |    ^
/home/aperez/devel/WebKit/Source/ThirdParty/skia/src/xml/SkDOM.cpp:72:8: note: in instantiation of member function 'std::unique_ptr<SkDOMParser>::~unique_ptr' requested here
   72 | SkDOM::SkDOM() : fAlloc(4096), fRoot(nullptr) {}
      |        ^
/home/aperez/devel/WebKit/Source/ThirdParty/skia/src/xml/SkDOM.h:20:7: note: forward declaration of 'SkDOMParser'
   20 | class SkDOMParser;
      |       ^
1 error generated.

-- 
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/20241216/20813043/attachment.htm>


More information about the webkit-unassigned mailing list