[PATCH] Support %m in printf functions

Richard Earnshaw rearnsha@arm.com
Tue Jan 3 10:38:00 GMT 2012


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.




More information about the Newlib mailing list