Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 73740 invoked from network); 26 Dec 2006 07:02:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Dec 2006 07:02:49 -0000 Received: (qmail 82010 invoked by uid 500); 26 Dec 2006 07:02:52 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 81953 invoked by uid 500); 26 Dec 2006 07:02:52 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 81942 invoked by uid 99); 26 Dec 2006 07:02:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Dec 2006 23:02:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of justin.erenkrantz@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Dec 2006 23:02:42 -0800 Received: by nf-out-0910.google.com with SMTP id p77so5428696nfc for ; Mon, 25 Dec 2006 23:02:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BUemcrWNbmqFz2StinEKwISENb3BxDE5AmOT7KMUDcJhNspMNgvph98VxnhbOUVBDU2dhdUpyjorBpv6k1gjG0ihNALYCTffFQMBUeTAyWNBRe77ZawTNwk76OGhiyRwwfF/HZ5CcC0Qpicv51Wzb46NKIO4Rw39XnM32EuZGXo= Received: by 10.78.139.1 with SMTP id m1mr589394hud.1167116540721; Mon, 25 Dec 2006 23:02:20 -0800 (PST) Received: by 10.78.129.6 with HTTP; Mon, 25 Dec 2006 23:02:20 -0800 (PST) Message-ID: <5c902b9e0612252302i51f28e67vea7c47bbf2203a02@mail.gmail.com> Date: Mon, 25 Dec 2006 23:02:20 -0800 From: "Justin Erenkrantz" Sender: justin.erenkrantz@gmail.com To: dev@httpd.apache.org Subject: Re: svn commit: r462696 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_disk_cache.c modules/cache/mod_disk_cache.h In-Reply-To: <4590BCC1.2040406@rowe-clan.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061011043119.C166C1A981A@eris.apache.org> <5c902b9e0612241146n656607d8j280149968e91c22a@mail.gmail.com> <4590BCC1.2040406@rowe-clan.net> X-Google-Sender-Auth: 1512ab57be89d422 X-Virus-Checked: Checked by ClamAV on apache.org On 12/25/06, William A. Rowe, Jr. 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