[Webkit-unassigned] [Bug 246447] New: [GCC] Build error in Ubuntu 20.04 after 255095 at main
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 13 01:00:43 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=246447
Bug ID: 246447
Summary: [GCC] Build error in Ubuntu 20.04 after 255095 at main
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
The Ubuntu 20.04 bot is failing with the following error:
```
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2004-Build/build/Source/WebCore/css/StyleColor.h:53:50: error: ‘bool WebCore::CurrentColor::operator==(const WebCore::CurrentColor&) const’ cannot be defaulted
53 | bool operator==(const CurrentColor&) const = default;
| ^~~~~~~
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2004-Build/build/Source/WebCore/css/StyleColor.h:78:48: error: ‘bool WebCore::StyleColor::operator==(const WebCore::StyleColor&) const’ cannot be defaulted
78 | bool operator==(const StyleColor&) const = default;
| ^~~~~~~
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2004-Build/build/Source/WebCore/platform/text/TextFlags.h:166:65: error: ‘bool WebCore::FontVariantAlternatesNormal::operator==(const WebCore::FontVariantAlternatesNormal&) const’ cannot be defaulted
166 | bool operator==(const FontVariantAlternatesNormal&) const = default;
| ^~~~~~~
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2004-Build/build/Source/WebCore/platform/text/TextFlags.h:170:65: error: ‘bool WebCore::FontVariantAlternatesValues::operator==(const WebCore::FontVariantAlternatesValues&) const’ cannot be defaulted
170 | bool operator==(const FontVariantAlternatesValues&) const = default;
| ^~~~~~~
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2004-Build/build/Source/WebCore/platform/text/TextFlags.h:187:59: error: ‘bool WebCore::FontVariantAlternates::operator==(const WebCore::FontVariantAlternates&) const’ cannot be defaulted
187 | bool operator==(const FontVariantAlternates&) const = default;
| ^~~~~~~
```
Ubuntu 20.04 uses GCC9.3 It seems this version doesn't support default initialiaation of `operator==`. Also `operator!=` needs explicity definition.
--
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/20221013/882c3052/attachment.htm>
More information about the webkit-unassigned
mailing list