GnuPG 1.9.95: gpg2 segfaults on build test
Werner Koch
wk at gnupg.org
Mon Nov 13 09:23:19 CET 2006
On Mon, 13 Nov 2006 01:55, umq.461 at gmail.com said:
> "%zd" in printf(3) might be safely replaced by "%lu", for portability
> to non-C99 compilers.
It is actually a matter of the C library being C99 compliant. Anyway,
we write code for C90. %lu will only worg if size_t is defined as
unsigned long but this is not always the case. Casing it is in okay
here because we know the range of the values.
> There're other wornings like:
Well, I will see that as soon as I have the cross compiler running.
Shalom-Salam,
Werner
More information about the Gnupg-devel
mailing list