From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kip Macy Subject: Re: compile fixes for mini-os Date: Sat, 24 Jan 2004 18:07:20 -0800 (PST) Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <20040124180228.S81692@demos.bsdclusters.com> References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Keir Fraser Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > > Hmmm... volatile generally gets sprinkled round like magic dust. I'm > not convinced it's usually needed. Looking closer at the code, it looks like gcc is just being dumb about the context. The overhead of using -Wcast-qual and most of the others probably isn't worth it. The one that is probably worth having for Xen, if only because doing arithmetic on void pointers seems like blatantly bad form, is -Wpointer-arith. > > I'll give the fixes a look - probably when I get back to Cambridge in > teh middle of next week. I'll probably take them all for the mini-os - > I'll have a think about whether any of the warning options should be > added to Xen as well. > Thanks. -Kip ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn