[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: detecting uses of "%zu"
From: |
Mike Frysinger |
Subject: |
Re: detecting uses of "%zu" |
Date: |
Tue, 17 Aug 2010 18:50:32 -0400 |
On Tue, Aug 17, 2010 at 6:41 PM, Bruno Haible wrote:
> 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.
or build it with a mingw toolchain and watch the warnings flood in ;)
-mike
- how to print size_t in LGPLv2+ program, Eric Blake, 2010/08/17
- Re: how to print size_t in LGPLv2+ program, Paul Eggert, 2010/08/17
- Re: how to print size_t in LGPLv2+ program, Bruno Haible, 2010/08/17
- Re: how to print size_t in LGPLv2+ program, Eric Blake, 2010/08/17
- Re: how to print size_t in LGPLv2+ program, Bruno Haible, 2010/08/17
Message not available