[Webkit-unassigned] [Bug 275728] New: [GLib] Fix CLang build after switch to C++23

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 21 02:02:58 PDT 2024


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

            Bug ID: 275728
           Summary: [GLib] Fix CLang build after switch to C++23
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: philn at igalia.com
                CC: bugs-noreply at webkitgtk.org

/usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/unique_ptr.h:91:16: error: invalid application of 'sizeof' to an incomplete type 'WebKitAutomationClient'                               
   91 |  static_assert(sizeof(_Tp)>0,                                                                                                                                                                              
      |                ^~~~~~~~~~~                                                                                                                                                                                 
/usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete<WebKitAutomationClient>::operator()' requested here  
  398 |    get_deleter()(std::move(__ptr));                                                                                                                                                                        
      |    ^                                                                                                                                                                                                       
/var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp:213:5: note: in instantiation of member function 'std::unique_ptr<WebKitAutomationClient>::~unique_ptr' requested here                 
  213 |     _WebKitWebContextPrivate()                                                                                                                                                                             
      |     ^                                                                                                                                                                                                      
/var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp:209:7: note: forward declaration of 'WebKitAutomationClient'                                                                           
  209 | class WebKitAutomationClient;                                                                                                                                                                              
      |       ^                                                                                                                                                                                                    
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/20240621/6e20e03a/attachment.htm>


More information about the webkit-unassigned mailing list