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-ia64-devel

[Xen-ia64-devel] RE: [PATCH long & boring]: compile with -Wall -Werror

To: "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>
Subject: [Xen-ia64-devel] RE: [PATCH long & boring]: compile with -Wall -Werror
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Fri, 21 Oct 2005 13:20:45 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 21 Oct 2005 20:19:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXUzGd0AGBjZOgNTCW5L/pWXUD5IABryc8Q
Thread-topic: [PATCH long & boring]: compile with -Wall -Werror
Hi Tristan --

Although I appreciate the value of avoiding compile warnings,
your patch requires many changes to about 20 files that are
identical to or heavily leveraged from linux files**.   I am
hesitant to make that many changes for compile-time
convenience as it will make maintenanace much harder when
keeping up with new Linux releases.

If you can rework the patch with fewer changes to linux-leveraged
files, I would consider applying it.  For example, I see lots
of new includes of xen/lib.h... can that be moved to a single
header file (preferably non-leveraged) to avoid so many
changes?  There may be other tricks like this to minimize
the changes...

Also, please submit bug fixes as separate patches as they
are hard to examine when bundled with many other syntactic
and formatting changes.

Thanks,
Dan

** find xen -name 'README.origin'

> -----Original Message-----
> From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx] 
> Sent: Wednesday, October 19, 2005 9:47 AM
> To: Magenheimer, Dan (HP Labs Fort Collins)
> Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [PATCH long & boring]: compile with -Wall -Werror
> 
> Hi,
> 
> here is a long and boring patch which fixes misc issues.  It 
> also enables 
> warnings and makes warnings to errors.
> 
> This is not yet perfect: I think there should be no 'extern' 
> declarations in C 
> files.  An extra effort is necessary for that.
> 
> Also I think I have caught a few potential bugs: see 
> vmx_hypercall.c and 
> irq.c.
> 
> Tristan.
> 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] RE: [PATCH long & boring]: compile with -Wall -Werror, Magenheimer, Dan (HP Labs Fort Collins) <=