svn commit: r193755 - in projects/clangbsd: . bin/df bin/sh
cddl/contrib/opensolaris/lib/libzfs/common contrib/llvm
contrib/llvm/autoconf contrib/llvm/cmake contrib/llvm/cmake/modules
contrib/llvm/...
Ed Schouten
ed at 80386.nl
Thu Jun 11 06:54:55 UTC 2009
Hi Bruce,
* Bruce Evans <brde at optusnet.com.au> wrote:
> On Wed, 10 Jun 2009, Ed Schouten wrote:
>> No, it doesn't. printf0 is just printf, but it allows fmt to be NULL.
>
> No it isn't. printf is just printf0, except it doesn't allow fmt to
> be NULL. FreeBSD extended printf to printf0, to support functions like
> err() where a NULL format is valid.
Aren't you saying exactly the same thing as what I did?
>> Clang always allows this, even with printf.
>
> If so, this is a bug in Clang.
I'm not calling it a bug. I'm calling it a missing feature of a GNU
extension. For the time being, this solution is sufficient. The clangbsd
branch isn't yet supposed to be pretty...
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20090611/dcf020e0/attachment.pgp
More information about the svn-src-projects
mailing list