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 printf compile error

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] fix printf compile error
From: Rik van Riel <riel@xxxxxxxxxx>
Date: Tue, 1 Mar 2005 10:26:08 -0500 (EST)
Delivery-date: Tue, 01 Mar 2005 15:51:38 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Fix another -Wall -Werror compile error.

Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>

--- xen-unstable/tools/libxutil/sxpr_parser.c.printf    2004-12-13 
15:37:53.188571229 -0500
+++ xen-unstable/tools/libxutil/sxpr_parser.c   2004-12-13 15:38:07.558088082 
-0500
@@ -43,6 +43,7 @@
  */
 
 #define dprintf(fmt, args...) IOStream_print(iostdout, "[DEBUG] %s" fmt, 
__FUNCTION__, ##args)
+#undef printf
 #define printf(fmt, args...)   IOStream_print(iostdout, fmt, ##args)
 
 static void reset(Parser *z);


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix printf compile error, Rik van Riel <=