[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module 'printf-posix'
From: |
Eric Blake |
Subject: |
Re: new module 'printf-posix' |
Date: |
Fri, 09 Mar 2007 18:35:17 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bruno Haible on 3/9/2007 6:20 PM:
> This module adds a POSIX compliant printf() function. This is the last module
> in this series.
>
> Redefining 'printf' is less easy than redefining 'vprintf' etc., because
> gcc allows to use the symbol 'printf' in __attribute__s of function
> declarations. Working around this requires some tricks. You can also call
> it monstrous hacks. Have fun :-)
Speaking of gcc attributes, shouldn't all the rpl_*printf variant
declarations be given a printf attribute when available so that users of
the *printf-posix modules still get the benefits of gcc format string
checking?
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----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
iD8DBQFF8gtV84KuGfSFAYARAlcPAKDWkWc+VowhdKfsO0k/SPigklulsQCfTzzV
p4Tn+XgjyTLi7UADBjl6ASA=
=VTka
-----END PGP SIGNATURE-----