On 10/2/05, mark benedetto king <[EMAIL PROTECTED]> wrote: > Currently, configure generates "%d" for APR_SSIZE_T_FMT on Darwin. > This leads to the following warning with gcc -Wall on OS X 10.4:
What are the definitions of ssize_t on 10.4? Here's what I have on 10.3, where %d is the correct format. /usr/include/ppc/ansi.h:#define _BSD_SSIZE_T_ int /usr/include/sys/types.h:typedef _BSD_SSIZE_T_ ssize_t; include/apr.h:typedef ssize_t apr_ssize_t; > Index: configure.in > =================================================================== > --- configure.in (revision 263866) > +++ configure.in (working copy) > @@ -1349,7 +1349,7 @@ > size_t_fmt='#define APR_SIZE_T_FMT "ld"' > ;; > *apple-darwin*) > - ssize_t_fmt='#define APR_SSIZE_T_FMT "d"' > + ssize_t_fmt='#define APR_SSIZE_T_FMT "ld"' this has to be auto-detected or be release-dependent
