[Webkit-unassigned] [Bug 228874] New: MallocBench: fix ODR violation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 6 14:25:28 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=228874
Bug ID: 228874
Summary: MallocBench: fix ODR violation
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at gnome.org
When built with LTO enabled, GCC will warn about violations of C++'s one-definition rule. MallocBench has two different Objects in two different files, which is illegal. We could rename one of them, but I decided it's simplest to just put them each in anonymous namespaces in order to restrict them to file scope.
--
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/20210806/070ddd42/attachment-0001.htm>
More information about the webkit-unassigned
mailing list