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-changelog

[Xen-changelog] [xen-3.1-testing] Constrain the checks for GCC/ANSI to j

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.1-testing] Constrain the checks for GCC/ANSI to just those header files that
From: "Xen patchbot-3.1-testing" <patchbot-3.1-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 01 Apr 2008 02:00:33 -0700
Delivery-date: Tue, 01 Apr 2008 02:01:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1206983359 -3600
# Node ID cdca34378e8e5ed36f31a0342bb320d15681560e
# Parent  ebe372ba761aa2a75bd7185363d57d45fd12b383
Constrain the checks for GCC/ANSI to just those header files that
require it.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   17327:da9bd2e81288225c8836e8083430ebcadf696f98
xen-unstable date:        Mon Mar 31 18:05:18 2008 +0100
---
 xen/include/public/arch-ia64.h  |    4 ++++
 xen/include/public/hvm/save.h   |    4 ++++
 xen/include/public/xen-compat.h |    4 ----
 3 files changed, 8 insertions(+), 4 deletions(-)

diff -r ebe372ba761a -r cdca34378e8e xen/include/public/arch-ia64.h
--- a/xen/include/public/arch-ia64.h    Mon Mar 31 17:51:33 2008 +0100
+++ b/xen/include/public/arch-ia64.h    Mon Mar 31 18:09:19 2008 +0100
@@ -27,6 +27,10 @@
 
 #ifndef __HYPERVISOR_IF_IA64_H__
 #define __HYPERVISOR_IF_IA64_H__
+
+#if !defined(__GNUC__) || defined(__STRICT_ANSI__)
+#error "Anonymous structs/unions are a GNU extension."
+#endif
 
 /* Structural guest handles introduced in 0x00030201. */
 #if __XEN_INTERFACE_VERSION__ >= 0x00030201
diff -r ebe372ba761a -r cdca34378e8e xen/include/public/hvm/save.h
--- a/xen/include/public/hvm/save.h     Mon Mar 31 17:51:33 2008 +0100
+++ b/xen/include/public/hvm/save.h     Mon Mar 31 18:09:19 2008 +0100
@@ -39,6 +39,10 @@
  * that are analogous to actual hardware state) should go in this file. 
  * Internal mechanisms should be kept in Xen-private headers.
  */
+
+#if !defined(__GNUC__) || defined(__STRICT_ANSI__)
+#error "Anonymous structs/unions are a GNU extension."
+#endif
 
 /* 
  * Each entry is preceded by a descriptor giving its type and length
diff -r ebe372ba761a -r cdca34378e8e xen/include/public/xen-compat.h
--- a/xen/include/public/xen-compat.h   Mon Mar 31 17:51:33 2008 +0100
+++ b/xen/include/public/xen-compat.h   Mon Mar 31 18:09:19 2008 +0100
@@ -48,8 +48,4 @@
 #define XEN_GUEST_HANDLE_00030205(type) type *
 #endif
 
-#if defined(__GNUC__) && defined(__STRICT_ANSI__)
-#error "These headers files use GNU extensions when built with GCC."
-#endif
-
 #endif /* __XEN_PUBLIC_XEN_COMPAT_H__ */

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.1-testing] Constrain the checks for GCC/ANSI to just those header files that, Xen patchbot-3.1-testing <=