Bug 285937
| Summary: | [libpas] Add PAS_ALLOW_UNSAFE_BUFFER_USAGE macro to fix build | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zak ridouh <zakr> |
| Component: | bmalloc | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | brandonstewart, ggaren, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
zak ridouh
After recent changes, the compiler is more aggressive about `unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]`.
We should a macro similar to `WTF_ALLOW_UNSAFE_BUFFER_USAGE` to allow libpas builds to continue for now, with a followup patch fixing these after.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/142905646>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/39015
EWS
Committed 288968@main (2cb447a130b9): <https://commits.webkit.org/288968@main>
Reviewed commits have been landed. Closing PR #39015 and removing active labels.