[Webkit-unassigned] [Bug 266244] New: REGRESSION(271419 at main): [GTK][WPE] Build fails if clang <= 14
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 11 11:40:52 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=266244
Bug ID: 266244
Summary: REGRESSION(271419 at main): [GTK][WPE] Build fails if
clang <= 14
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dpino at igalia.com
WebKitGTK and WPE are failing to build when using clang 14 after 271419 at main. This changeset introduced a change that makes use of `std::views::values` in the files:
- Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp
- Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.h
It seems clang-14 doesn't support `std::views:values`. Here is a small example that fails to build with clang-14:
```
#include <iostream>
#include <map>
#include <ranges>
int main() {
std::map<int, std::string> myMap{
{1, "one"},
{2, "two"},
{3, "three"}
};
for (const auto& value : std::views::values(myMap)) {
std::cout << "Value: " << value << std::endl;
}
return 0;
}
```
Since this feature is only used in these two files in the entire WebKit codebase, I'd like to revert the changes in those two files, so WebKitGTK and WPE can still be built with clang-14.
--
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/20231211/a32c0cdd/attachment.htm>
More information about the webkit-unassigned
mailing list