printf
printf copied to clipboard
%p format
For consideration: Maybe it would be useful to change %p format to be compatible with libc:
In the GNU C Library, non-null pointers are printed as unsigned integers, as if a ‘%#x’ conversion were used. Null pointers print as ‘(nil)’. (Pointers might print differently in other systems.)
Or make this compile-time configurable ...
Good point. I'll check this
Fixed on my fork thanks to Eli Lipsitz, in commit 5fdbaa76ad7bac67098dc7d72ad50fef5aeacec7.