Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 33540 invoked from network); 2 Dec 2010 09:40:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Dec 2010 09:40:05 -0000 Received: (qmail 69517 invoked by uid 500); 2 Dec 2010 09:40:05 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 69201 invoked by uid 500); 2 Dec 2010 09:40:04 -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 69193 invoked by uid 99); 2 Dec 2010 09:40:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 09:40:04 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jorton@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 09:39:57 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB29daXn026120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 2 Dec 2010 04:39:36 -0500 Received: from turnip.manyfish.co.uk (vpn-8-153.rdu.redhat.com [10.11.8.153]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oB29dZ6V001899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Dec 2010 04:39:36 -0500 Received: from jorton by turnip.manyfish.co.uk with local (Exim 4.72) (envelope-from ) id 1PO5dW-0001mS-AM for dev@httpd.apache.org; Thu, 02 Dec 2010 09:39:34 +0000 Date: Thu, 2 Dec 2010 09:39:34 +0000 From: Joe Orton To: dev@httpd.apache.org Subject: Re: svn commit: r1040177 - /httpd/httpd/trunk/modules/http/http_protocol.c Message-ID: <20101202093934.GA6399@redhat.com> Mail-Followup-To: dev@httpd.apache.org References: <20101129163750.096C923889D5@eris.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20101129163750.096C923889D5@eris.apache.org> User-Agent: Mutt/1.5.20 (2009-08-17) Organization: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in UK and Wales under Company Registration No. 03798903 Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson (USA), Charlie Peters (USA) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 On Mon, Nov 29, 2010 at 04:37:49PM -0000, fuankg@apache.org wrote: > URL: http://svn.apache.org/viewvc?rev=1040177&view=rev > Log: > Supress compiler warning. ... > ============================================================================== > --- httpd/httpd/trunk/modules/http/http_protocol.c (original) > +++ httpd/httpd/trunk/modules/http/http_protocol.c Mon Nov 29 16:37:49 2010 > @@ -204,7 +204,12 @@ AP_DECLARE(int) ap_set_keepalive(request > * THEN we can be persistent, which requires more headers be output. > * > * Note that the condition evaluation order is extremely important. > + * > + * Silent compiler warnings for (r->chunked = 1) with #pragma > */ > +#ifdef __WATCOMC__ > +#pragma disable_message(105) > +#endif Eww. Do you really need to litter the source code with this stuff? Can you not flip compiler switches in the Makefiles? Regards, Joe