On Wed, Sep 21, 2005 at 10:04:05AM -0000, [EMAIL PROTECTED] wrote:
> Author: niq
> Date: Wed Sep 21 03:04:00 2005
> New Revision: 290672
> 
> URL: http://svn.apache.org/viewcvs?rev=290672&view=rev
> Log:
> Move mod_dbd from /experimental/ to /database/

That broke the build, the duplicated APACHE_MODULE meant it was trying 
to build mod_dbd in both old and new locations; here are the new gcc 
warnings since this gets enabled by default now:

mod_dbd.c: In function 'ap_dbd_open':
mod_dbd.c:301: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
mod_dbd.c:310: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
mod_dbd.c:316: warning: 'rv' is used uninitialized in this function

    ap_dbd_t *rec = NULL;
...  
    rv = dbd_construct((void**)&rec, svr, pool);

should be e.g.:

    ap_dbd_t *rec;
    void *vrec = NULL;

    dbd_construct(&vrec, ...);

    rec = vrec;

This really needs a configure-time apr-util version check too since it's 
quite possible to build against apr-util 1.0 otherwise.

Regards,

joe

Reply via email to