[Webkit-unassigned] [Bug 278201] New: [WebRTC] rtc::Network must be defined before classes that use it as an instance variable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 15 16:53:03 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=278201
Bug ID: 278201
Summary: [WebRTC] rtc::Network must be defined before classes
that use it as an instance variable
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ddkilzer at webkit.org
CC: youennf at gmail.com
rtc::Network must be defined before classes that use it as an instance variable.
New build failure with upstream clang:
/usr/include/c++/v1/__memory/unique_ptr.h:65:19: error: invalid application of 'sizeof' to an incomplete type 'rtc::Network'
65 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^~~~~~~~~~~
/usr/include/c++/v1/__memory/unique_ptr.h:278:7: note: in instantiation of member function 'std::default_delete<rtc::Network>::operator()' requested here
278 | __ptr_.second()(__tmp);
| ^
/usr/include/c++/v1/__memory/unique_ptr.h:248:71: note: in instantiation of member function 'std::unique_ptr<rtc::Network>::reset' requested here
248 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
In file included from Source/ThirdParty/libwebrtc/Source/webrtc/p2p/base/wrapping_active_ice_controller.cc:11:
In file included from Source/webrtc/p2p/base/wrapping_active_ice_controller.h:18:
In file included from Source/webrtc/p2p/base/active_ice_controller_interface.h:16:
In file included from Source/webrtc/p2p/base/connection.h:42:
Source/webrtc/rtc_base/network.h:192:18: note: in instantiation of member function 'std::unique_ptr<rtc::Network>::~unique_ptr' requested here
192 | class RTC_EXPORT NetworkManagerBase : public NetworkManager {
| ^
Source/webrtc/rtc_base/network.h:192:18: note: in implicit destructor for 'rtc::NetworkManagerBase' first required here
In file included from Source/ThirdParty/libwebrtc/Source/webrtc/p2p/base/wrapping_active_ice_controller.cc:11:
In file included from Source/webrtc/p2p/base/wrapping_active_ice_controller.h:18:
In file included from Source/webrtc/p2p/base/active_ice_controller_interface.h:16:
In file included from Source/webrtc/p2p/base/connection.h:38:
Source/webrtc/p2p/base/port_interface.h:31:7: note: forward declaration of 'rtc::Network'
31 | class Network;
| ^
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/20240815/172f9f8e/attachment-0001.htm>
More information about the webkit-unassigned
mailing list