This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: implement printf("%a")


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jeff Johnston on 5/10/2007 2:07 PM:
> Yes, the code with modification is fine and can be checked in.

Committed.

> 
> However, after testing this and thinking about it, we need to
> enable/disable the C99 format specifiers at will.  The majority of
> embedded platforms do not need/use the C99 specifiers and it adds bulk
> to the executable size.
> 
> Thus, I am proposing a _WANT_IO_C99 flag (optionally
> _WANT_IO_C99_FORMATS).  The default is no for all platforms except for
> *-linux and Cygwin where it will default to yes.  The flag will remove
> the 'a', 'A', 'z', etc... specifiers that do not appear in C90.
> 
> This would be implemented the same as long_long and long_double are
> today and have a configure option.

OK, I'll work on that next.  It may be a day or two before I have time to
complete it.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGRGuY84KuGfSFAYARAmLdAJ9AJDz2aVqvUaGxrcvjn397EZ4pTwCgug27
LUNkvWvQtm0SinKHfYQoZ/0=
=03qw
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]