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] PATCH: remaining warnings removed

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx, "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>, Alex Williamson <alex.williamson@xxxxxx>
Subject: [Xen-ia64-devel] PATCH: remaining warnings removed
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Wed, 31 May 2006 11:52:42 +0200
Delivery-date: Wed, 31 May 2006 02:48:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
User-agent: KMail/1.5
Hi,

this patch cleans up all remaining warnings.
-Werror and -Wno-uninitialized are added for make no_warns=y

Two comments:
I disable -Wuninitialized.  The reason is simple: this warning can be falsly 
triggered and thus depends on compiler version.  I think it will be a 
nightmare to enforce it with -Werror.  (Note it is enabled when no_warns != 
y).

I have made some trivial modifications in linux-xen/ files without #ifdef 
XEN/#endif. It would have made the files more unreadable and these warnings 
may have been fixed in linux files.

Tested by booting dom0.

Tristan.

Attachment: xen-warns1.diffs
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>