Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 1377 invoked from network); 21 Sep 2005 14:04:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2005 14:04:09 -0000 Received: (qmail 52851 invoked by uid 500); 21 Sep 2005 14:03:42 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 52704 invoked by uid 500); 21 Sep 2005 14:03:41 -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 52646 invoked by uid 99); 21 Sep 2005 14:03:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 07:03:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jorton@redhat.com designates 66.187.233.31 as permitted sender) Received: from [66.187.233.31] (HELO mx1.redhat.com) (66.187.233.31) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 07:03:48 -0700 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j8LE3H01012573 for ; Wed, 21 Sep 2005 10:03:17 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j8LE3CV24608 for ; Wed, 21 Sep 2005 10:03:12 -0400 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.13.4/8.13.4/Submit) id j8LE3BNe011584 for dev@httpd.apache.org; Wed, 21 Sep 2005 15:03:11 +0100 Date: Wed, 21 Sep 2005 15:03:11 +0100 From: Joe Orton To: dev@httpd.apache.org Subject: Re: svn commit: r290672 - in /httpd/httpd/trunk/modules: database/ database/Makefile.in database/config.m4 database/mod_dbd.c database/mod_dbd.h experimental/mod_dbd.c experimental/mod_dbd.h Message-ID: <20050921140311.GA4929@redhat.com> Mail-Followup-To: dev@httpd.apache.org References: <20050921100406.90405.qmail@minotaur.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20050921100406.90405.qmail@minotaur.apache.org> User-Agent: Mutt/1.4.2.1i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Wed, Sep 21, 2005 at 10:04:05AM -0000, niq@apache.org 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