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] CS 8857 won't build with gcc 4

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] CS 8857 won't build with gcc 4
From: Steve Dobbelstein <steved@xxxxxxxxxx>
Date: Thu, 16 Feb 2006 15:47:35 -0600
Delivery-date: Thu, 16 Feb 2006 22:00:17 +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
Another build break with gcc 4.

gcc 4 complains:

mpparse.c:56: error: static declaration of ?mp_current_pci_id? follows
non-static declaration
/usr/src/xen/xen-unstable.hg-8857/xen/include/asm/mpspec.h:26: error:
previous declaration of ?mp_current_pci_id? was here
make[2]: *** [mpparse.o] Error 1

This patch removes the declaration of extern mp_current_pci_id from
xen/include/asm/mpspec.h.  All .c files that use mp_current_pci_id declare
it static, so it is not needed in the header file.

Signed-off-by: Steve Dobbelstein <steved@xxxxxxxxxx>

(See attached file: 8857-build-fix.patch)

Attachment: 8857-build-fix.patch
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] CS 8857 won't build with gcc 4, Steve Dobbelstein <=