Bug 285937

Summary: [libpas] Add PAS_ALLOW_UNSAFE_BUFFER_USAGE macro to fix build
Product: WebKit Reporter: zak ridouh <zakr>
Component: bmallocAssignee: 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
Reported 2025-01-14 13:29:26 PST
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
Radar WebKit Bug Importer
Comment 1 2025-01-14 13:29:38 PST
zak ridouh
Comment 2 2025-01-14 13:32:19 PST
EWS
Comment 3 2025-01-15 14:37:56 PST
Committed 288968@main (2cb447a130b9): <https://commits.webkit.org/288968@main> Reviewed commits have been landed. Closing PR #39015 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.