From: Keir Fraser Subject: Re: Re: [patch] fix void* arithmetic Date: Wed, 30 Aug 2006 17:35:30 +0100 Message-ID: References: <1156886315.29858.78.camel@basalt.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1156886315.29858.78.camel@basalt.austin.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hollis Blanchard , Ian Campbell Cc: xen-devel , xen-ppc-devel List-Id: xen-devel@lists.xenproject.org On 29/8/06 10:18 pm, "Hollis Blanchard" wrote: >> Looks like PPC is the only arch using -Wpointer-arith, is there a reason >> for that? > > Is there are reason the other architectures *aren't* using it? > > We have some extra warnings enabled because they've helped us in the > past (such as -Wshadow). Given that we're just playing janitor for > everyone else's code though, I think we're about to abandon that one. We have code borrowed from Linux that doesn't like -Wpointer-arith very much, so we took the pragmatic path here. -- Keir