[Webkit-unassigned] [Bug 247064] New: Clang build fails with -Wcast-align in ZycoreList.c
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 26 08:17:10 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=247064
Bug ID: 247064
Summary: Clang build fails with -Wcast-align in ZycoreList.c
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lmoura at igalia.com
/app/webkit/Source/JavaScriptCore/disassembler/zydis/Zydis/ZycoreList.c:97:21: error: cast from 'ZyanU8 *' (aka 'unsigned char *') to 'ZyanListNode *' (aka 'struct ZyanListNode_ *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
*node = (ZyanListNode*)((ZyanU8*)list->buffer + size);
compiler explorer example: https://godbolt.org/z/7hY5K7s4o
--
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/20221026/4f7afae4/attachment-0001.htm>
More information about the webkit-unassigned
mailing list