You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GH-44372: [C++] Fix unaligned load/store implementation for clang-18 (#44468)
### Rationale for this change
CLang 18 complains about undefined behavior when memcpy is called on a T-unaligned `T*` pointer.
This is due to this upstream change: llvm/llvm-project#67766
### What changes are included in this PR?
Workaround by casting to `void*`.
### Are these changes tested?
By existing CI tests.
### Are there any user-facing changes?
No.
* GitHub Issue: #44372
Lead-authored-by: Antoine Pitrou <[email protected]>
Co-authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
0 commit comments