This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Support %m in printf functions
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- Cc: newlib <newlib at sources dot redhat dot com>
- Date: Tue, 03 Jan 2012 10:37:52 +0000
- Subject: Re: [PATCH] Support %m in printf functions
- References: <1325440746.6724.8.camel@YAAKOV04>
On 01/01/12 17:59, Yaakov (Cygwin/X) wrote:
> This patch adds support for the "%m" conversion specifier in the printf
> and wprintf functions, a GNU extension:
>
> http://www.kernel.org/doc/man-pages/online/pages/man3/printf.3.html
>
> Patch and STC attached.
>
Printf is already very bloated. On bare metal this adds yet more
overhead for something that's very unlikely to be used.
I think there should be a way of building printf with all GNU extensions
disabled.
R.