cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: printf-style format strings

From: Yang Tse <yangsita_at_gmail.com>
Date: Thu, 28 Jan 2010 16:38:31 +0100

2010/1/28, Jamie Lokier wrote:

> Look up GCC's __attribute__((__format__(__printf__(...))). It does
> exactly what you asked for, assuming the format string styles are the
> same as the platform's own printf.

Great! It has certainly detected several mismatches which have been
fixed now in CVS.

Thanks,

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-28