Bug 269716
| Summary: | [LibWebRTC] Build error due to duplicated function 'fromStdString' | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> |
| Component: | New Bugs | Assignee: | Diego Pino <dpino> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Diego Pino
WPE-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004 bot is failing with the following error:
```
../../../Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:429:22: error: redefinition of ‘WTF::String WebCore::fromStdString(const string&)’
429 | static inline String fromStdString(const std::string& value)
| ^~~~~~~~~~~~~
In file included from ../../../Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCLogSink.cpp:30,
from WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-66.cpp:2:
../../../Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.h:78:15: note: ‘WTF::String WebCore::fromStdString(const string&)’ previously defined here
78 | inline String fromStdString(const std::string& value)
| ^~~~~~~~~~~~~
```
It seems this function is duplicated.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Diego Pino
Pull request: https://github.com/webkit/webkit/pull/24750
Radar WebKit Bug Importer
<rdar://problem/123634171>
Diego Pino
*** This bug has been marked as a duplicate of bug 269707 ***