| Summary: | [libpas] Suppress cast-align warnings | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Basuke Suzuki <Basuke.Suzuki> | ||||||
| Component: | bmalloc | Assignee: | Basuke Suzuki <Basuke.Suzuki> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | annulen, Basuke.Suzuki, ews-watchlist, ggaren, gyuyoung.kim, ryuan.choi, sergio, webkit-bug-importer, ysuzuki | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Basuke Suzuki
2022-02-24 20:21:02 PST
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. 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]. |