[Webkit-unassigned] [Bug 250584] New: [WebRTC] Fix -Wdeprecated-copy warnings in the boringssl project
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 13 11:00:27 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=250584
Bug ID: 250584
Summary: [WebRTC] Fix -Wdeprecated-copy warnings in the
boringssl project
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
Depends on: 250431
Fix -Wdeprecated-copy warnings in the boringssl project:
Source/third_party/boringssl/src/include/openssl/bytestring.h:53:3: error: definition of implicit copy assignment operator for 'cbs_st' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
cbs_st(const cbs_st &) = default;
^
Source/ThirdParty/libwebrtc/Source/third_party/boringssl/src/ssl/t1_lib.cc:183:14: note: in implicit copy assignment operator for 'cbs_st' first required here
extensions = *cbs;
^
Source/third_party/boringssl/src/include/openssl/bytestring.h:53:3: error: definition of implicit copy assignment operator for 'cbs_st' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
cbs_st(const cbs_st &) = default;
^
Source/ThirdParty/libwebrtc/Source/third_party/boringssl/src/ssl/handshake_server.cc:452:18: note: in implicit copy assignment operator for 'cbs_st' first required here
extensions = copy;
^
Source/third_party/boringssl/src/include/openssl/bytestring.h:53:3: error: definition of implicit copy assignment operator for 'cbs_st' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
cbs_st(const cbs_st &) = default;
^
Source/ThirdParty/libwebrtc/Source/third_party/boringssl/src/ssl/handshake.cc:176:18: note: in implicit copy assignment operator for 'cbs_st' first required here
out_msg->raw = CBS(ech_client_hello_buf);
^
Fixed by upstream commit:
Fix a -Wdeprecated-copy warning.
https://github.com/google/boringssl/commit/f315a86df3d5cd51135db996c9d5747ec2641331
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=250431
[Bug 250431] Start extracting common WARNING_CFLAGS into CommonBase.xcconfig
--
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/20230113/7b348584/attachment-0001.htm>
More information about the webkit-unassigned
mailing list