Re: [Ipsec-tools-devel] Debug and %zu
Brought to you by:
mit_warlord,
netbsd
From: Michal L. <mi...@lo...> - 2005-01-05 17:37:20
|
On Wed, 5 Jan 2005, VANHULLEBUS Yvan wrote: > After a look at the core file and a few tests, it looks like the %zu > format option of *printf functions is Linux specific, or at least does > not work everywhere (a quick google search shows that there are also > some problems on some other *BSD). > > Can I just replace those %zu with some %u (as in the original KAME's > racoon), or is there a good reason to keep those %zu (and then won can > I deal with them if I don't have %zu support in OS ???). On FreeBSD 4.10 only the GCC doesn't know about %z, libc does and that is relevant. Please don't revert the strings. If gcc is complaining compile with -Wno-format (there is a test for this in configure). Michal Ludvig -- * A mouse is a device used to point at the xterm you want to type in. * Personal homepage - http://www.logix.cz/michal |