https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781
Grant Edwards <grant.b.edwards at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grant.b.edwards at gmail dot com --- Comment #25 from Grant Edwards <grant.b.edwards at gmail dot com> --- 10 years later, still no solution? I too would really like to be able to use custom single-argument, single-character format specifies (e.g. %b to print an integer in binary). The Linux-kernel work-around with %p<whatever> is painful for two reasons: * My printf function doesn't support format modifiers like that. All format specifiers are single characters. * You have to cast the integer value to a void*, and that just confuses the reader.