WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][TOOLS] xenperf: cleanup

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][TOOLS] xenperf: cleanup
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Tue, 15 Jul 2008 16:06:35 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Jul 2008 07:16:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4A26A1D.23FF3%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C4A26A1D.23FF3%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.7
On Tuesday 15 July 2008 15:52:13 Keir Fraser wrote:
> On 15/7/08 14:45, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:
> > One more (already sent). Then the tools build with the additional
> > compiler flags:
> >
> > -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type
> > -Wnested-externs
> > -Wredundant-decls -Wfloat-equal -Wundef -Wimplicit-function-declaration
>
> Do we really want these? Certainly I'm not going to play whack-a-warning
> with umpteen versions of gcc before 3.3 is out.

Probably not all of them. -Wfloat-equal has no effect because there's no FPU 
code in Xen.

The flags  -Wmissing-prototypes -Wnested-externs -Wredundant-decls
and -Wimplicit-function-declaration    resulted in the patches I sent 
yesterday and today.
These flags guarantee that future patches have a higher quality.

For the xen-kernel itself I'm not yet through with these flags.
Nonetheless, I can send a patch you will like. :)

Christoph

-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel