bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detecting uses of "%zu"


From: Bruno Haible
Subject: Re: detecting uses of "%zu"
Date: Wed, 18 Aug 2010 00:41:20 +0200
User-agent: KMail/1.9.9

Eric Blake wrote:
> it still requires auditing code
> and forbidding "%zu" in favor of "%"PRIuSIZE (or whatever other name we
> settle on).

You could hack GCC, clang, or even xgettext to produce a warning when it
sees a 'z' size modifier in a format string.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]