RESOLVED FIXED 247064
Clang build fails with -Wcast-align in ZycoreList.c
https://bugs.webkit.org/show_bug.cgi?id=247064
Summary Clang build fails with -Wcast-align in ZycoreList.c
Lauro Moura
Reported 2022-10-26 08:17:10 PDT
/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
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-02 08:18:19 PDT
Yijia Huang
Comment 2 2022-11-02 12:23:32 PDT
EWS
Comment 3 2022-11-02 14:43:49 PDT
Committed 256244@main (8d013e8f190b): <https://commits.webkit.org/256244@main> Reviewed commits have been landed. Closing PR #6042 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.