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
On Tue, Nov 08, 2005 at 05:57:26PM -0800, Shaw Vrana wrote:> 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.Can you give a couple of examples of the warnings and the changes you're proposing? -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Maybe Matching Threads
- [PATCH] 64 bit clean compilation patches
- configure warning on SunOS 4.1.4
- [GSoC 2014] About "Clustering of Search Results"
- Can't join Linux host to AD - "Improper format of Kerberos configuration file"
- Can we disable diffie-hellman-group-exchange-sha1 by default?