This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: printf enhancement
- From: "Alfred M. Szmidt" <ams at gnu dot org>
- To: Piotr Wyderski <piotr dot wyderski at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 22 Jan 2010 13:47:35 -0500
- Subject: Re: printf enhancement
- References: <9f8a01cd1001220301y24d88252u1b1b32692a6e2274@mail.gmail.com>
- Reply-to: ams at gnu dot org
Since it is possible to use the 0b prefix to specify a binary
number in GCC/C++, will there be any resistance to add %b format
specifier to the printf family format strings?
You can do that yourself by using the hook facility for printf, see
(libc) Customizing Printf in the GNU C library manual; this is a GNU
extention and not supported by ISO C.