Please consider applying the following patch to the APR source.

 

This patch adds support for systems where size_t is equivalent to "unsigned
long long" with format specifier "llu"

and where ssize_t is equivalent to "long long" with format specifier "lld"

 

This change is "duck-patched" by the conan-center-index recipe prior to
building APR for use with builds using the conan package manager.

 

Regards

Stephen Webb

 

Index: configure.in

===================================================================

--- configure.in        (revision 1909668)

+++ configure.in        (working copy)

@@ -2069,12 +2069,14 @@

 

dnl I would expect much of the above to go away with new compile test

APR_CHECK_TYPES_FMT_COMPATIBLE(ssize_t, long, ld, [ssize_t_fmt="ld"], [

-APR_CHECK_TYPES_FMT_COMPATIBLE(ssize_t, int, d, [ssize_t_fmt="d"])

-])

+APR_CHECK_TYPES_FMT_COMPATIBLE(ssize_t, int, d, [ssize_t_fmt="d"], [

+APR_CHECK_TYPES_FMT_COMPATIBLE(ssize_t, long long, lld,
[ssize_t_fmt="lld"])

+])])

+

APR_CHECK_TYPES_FMT_COMPATIBLE(size_t, unsigned long, lu, [size_t_fmt="lu"],
[

-APR_CHECK_TYPES_FMT_COMPATIBLE(size_t, unsigned int, u, [size_t_fmt="u"])

-])

-

+APR_CHECK_TYPES_FMT_COMPATIBLE(size_t, unsigned int, u, [size_t_fmt="u"]),
[

+APR_CHECK_TYPES_FMT_COMPATIBLE(size_t, unsigned long long, llu,
[size_t_fmt="llu"])

+])])

AC_CHECK_SIZEOF(ssize_t)

 

dnl the else cases below should no longer occur;

 

 

 



-- 
This email has been checked for viruses by Avast antivirus software.
www.avast.com

Reply via email to