This pattern is used in callbacks with void * data arguments and seems
both relatively uncommon and relatively harmless. Silence the warning
casting through uintptr_t.
This warning is on by default in Clang 11.
Differential D24425
Fix -Wvoid-pointer-to-enum-cast warnings. brooks on Apr 14 2020, 10:21 PM. Authored by Tags None Referenced Files
Details This pattern is used in callbacks with void * data arguments and seems This warning is on by default in Clang 11.
Diff Detail
Event TimelineComment Actions LGTM. I'll remove the -Wno-error=void-pointer-to-enum-cast CheriBSD change once this is merged. |