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

[Xen-devel] [PATCH] fix libxc warnings

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] fix libxc warnings
From: "Charles Coffing" <ccoffing@xxxxxxxxxx>
Date: Thu, 02 Mar 2006 14:56:39 -0500
Delivery-date: Thu, 02 Mar 2006 19:57:22 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
With gcc 4.1 / glibc 2.3.90, I'm seeing fatal warnings building libxc.

xc_core.c: In function 'xc_domain_dumpcore':
xc_core.c:74: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
xc_core.c:75: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
xc_core.c:85: warning: ignoring return value of 'write', declared with
attribute warn_unused_result

Attached is a trival patch to fix the warnings.

Signed-off-by:  Charles Coffing <ccoffing@xxxxxxxxxx>

Attachment: libxc-warnings.diff
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix libxc warnings, Charles Coffing <=