httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Erenkrantz" <jus...@erenkrantz.com>
Subject Re: svn commit: r462696 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_disk_cache.c modules/cache/mod_disk_cache.h
Date Tue, 26 Dec 2006 07:02:20 GMT
On 12/25/06, William A. Rowe, Jr. <wrowe@rowe-clan.net> wrote:
> Just so folks are aware why...
>
> >> > +APU_DECLARE_DATA const apr_bucket_type_t bucket_type_diskcache = {
> >> > +    "DISKCACHE", 5, APR_BUCKET_DATA,
> >> > +    diskcache_bucket_destroy,
> >> > +    diskcache_bucket_read,
> >> > +    diskcache_bucket_setaside,
> >> > +    apr_bucket_shared_split,
> >> > +    apr_bucket_shared_copy
> >> > +};
>
> results in...
>
> >> .\mod_disk_cache.c(251) : error C2491: 'bucket_type_diskcache' :
> >> definition of dllimport data not allowed
>
> ...the APU_DECLARE_DATA means "This exported data symbol is provided by
> APR-UTIL".
>
> APR-UTIL does not include the source mod_disk_cache.c.
>
> Ergo - fubar.

FWIW, I tried CACHE_DECLARE_DATA too and it made no difference.  -- justin

Mime
View raw message