RFC: 64bit compilation warning removal
Shaw Vrana
shaw at vranix.com
Wed Nov 9 12:57:26 EST 2005
Hello All,
I'm getting some compile warnings with openssh on a x86_64 GNU/Linux
machine. Specifically, these warnings arise b/c of improper casts in
functions taking printf-style formatting arguments. Replacing the
format specifications (%u, %d, etc) with the macros in inttypes.h would
remove these warnings. This would also require a little bit of work
with autoconf as well to ensure portability. The obvious solution is to
define the format macros in the case that inttypes.h does not exist. Is
this an acceptable practice? and would you accept patches of this kind?
Thanks,
Shaw
More information about the openssh-unix-dev
mailing list