There are tons of cast-align warnings while compiling libpas.
Initially I've added -Wno-cast-align compiler flags on bmalloc build, but the headers are also indirectly used in WTF. Disabling that warning in entire WTF doesn't seems a good idea.
<rdar://problem/89479570>
Created attachment 453262 [details] PATCH
This patch works, but it's too busy to put the macro into every occurrence. I think it's okay to put the macro to wrap entire code except the one in the macro usage. I believe libpas is carefully written for the situation this warning describes.
Created attachment 453280 [details] PATCH
After discussing with Yusuke, I've decided to follow the treatment of `missing-field-initializers` warning.
Comment on attachment 453280 [details] PATCH r=me
Committed r290541 (247819@main): <https://commits.webkit.org/247819@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453280 [details].