WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
246447
[GCC] Build error in Ubuntu 20.04 after
255095@main
https://bugs.webkit.org/show_bug.cgi?id=246447
Summary
[GCC] Build error in Ubuntu 20.04 after 255095@main
Diego Pino
Reported
2022-10-13 01:00:43 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Matthieu Dubet
Comment 1
2022-10-13 02:07:42 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/5322
Alexey Proskuryakov
Comment 2
2022-10-13 17:23:40 PDT
This was fixed via a different PR: Committed
255482@main
(a994d17):
https://commits.webkit.org/255482@main
Reviewed commits have been landed. Closing PR #5321 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2022-10-13 17:24:22 PDT
<
rdar://problem/101151548
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug