This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
RE: support for %m format argument to printf?
- From: "Jon Beniston" <jon at beniston dot com>
- To: "'Richard Earnshaw'" <rearnsha at gcc dot gnu dot org>,"'Jeremy Elson'" <jelson at cs dot ucla dot edu>
- Cc: <newlib at sources dot redhat dot com>
- Date: Fri, 29 Oct 2004 11:03:29 +0100
- Subject: RE: support for %m format argument to printf?
- Reply-to: <jon at beniston dot com>
>
> On Fri, 2004-10-29 at 01:48, Jeremy Elson wrote:
> > Hi,
> >
> > Gnu C allows you to specify "%m" in printf format strings; newlib
> > doesn't. Is there any plan to add support? If not, I can
> work on a
> > patch.
> >
>
> Ugg! I hope not. Not a good idea for space-conscious environments.
Good point. I guess it might be reasonable to implement it as conditional
code, enabled in a similar way to long long printf support.
Cheers,
Jon