On 2010-07-28 at 03:51, Alex Wulms <[email protected]> wrote:

> Hi,
>
> While adding some debug log statements to a module I'm working on, I ran
> into the problem that ap_log_error (in apache 2.2) does not support %zd
> or %zu conversion for type_t arguments. This was problematic to make the
> code compile on both 32 and 64 bit platforms.

> * platform (32-bit or 64-bit). This violates the whole purpose of
> type_t, which
> * was introduced in C exactly to provide cross-platform compatibility...

I'm confused.  Neither c89 nor c99 define a type "type_t", as far as I
can see.

But you might find the *_FMT macro definitions from APR helpful, or else
explain your problem in more detail?

Dan

Reply via email to