Menu

#869 Harmonize printing of pointers vs. uintptr_t

open
nobody
None
5
2023-02-04
2023-02-04
No

The C standard gives us lots of freedom for the %p format for the printf family.
IMO, we should use this freedom to always print pointers like we print hex uintptr_t.

Printing them like uintptr_t is reasonably easy on the users, and gives us a simpler, and smaller printf implementation.

Related

Patches: #457

Discussion


Log in to post a comment.

MongoDB Logo MongoDB