httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject Re: Error log format configuration syntax
Date Wed, 28 Jul 2010 11:44:03 GMT
On 2010-07-28 at 03:51, Alex Wulms <alex.wulms@scarlet.be> 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

Mime
View raw message