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 fixing compilation issues with gcc version 4.1.2 20061

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Patch fixing compilation issues with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
From: Daniel Kiper <dkiper@xxxxxxxxxxxx>
Date: Wed, 18 Aug 2010 11:51:53 +0200
Delivery-date: Wed, 18 Aug 2010 02:52:22 -0700
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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.3.28i
Hi,

Small patch which fixes compilation issues with
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).
It applies to xen-4.0-testing and xen-unstable.

Daniel

# HG changeset patch
# User dkiper@xxxxxxxxxxxx
# Date 1282122059 -7200
# Node ID 071f7b19e8dab15ca664ab92617e206f3a020051
# Parent  8e8dd38374e9758412b079bf2edda1909ef157dd
This patch fixes compilation issues with
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).

Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>

diff -r 8e8dd38374e9 -r 071f7b19e8da tools/xenpaging/xenpaging.c
--- a/tools/xenpaging/xenpaging.c       Wed Aug 11 16:44:03 2010 +0100
+++ b/tools/xenpaging/xenpaging.c       Wed Aug 18 11:00:59 2010 +0200
@@ -19,6 +19,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#define _XOPEN_SOURCE  600
 
 #include <inttypes.h>
 #include <stdlib.h>

Attachment: xen-4.0-testing-gcc-4.1.2.20061115-fix.r0.patch
Description: Text document

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