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

RE: [Xen-devel] gcc4: char * vs unsigned char *

To: "Rik van Riel" <riel@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] gcc4: char * vs unsigned char *
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 3 Mar 2005 20:00:30 -0000
Cc: <ian.pratt@xxxxxxxxxxxx>
Delivery-date: Thu, 03 Mar 2005 20:02:09 +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
Thread-index: AcUgKPKya5l+dJMZRHyR0HyweBhjkwAAm+Xg
Thread-topic: [Xen-devel] gcc4: char * vs unsigned char *
 > Since xen uses -Wall -Werror, gcc4 refuses to compile areas
> of the code where "char *" and "unsigned char *" are used in a
> mixed fashion.
> 
> This is a problem since xen uses "unsigned char *" for many
> string functions, but the x86 string implementation uses
> the (standard) "char *" and the generic string implementation
> uses the (non-standard?) "unsigned char *".
> 
> I'm willing to do the work to standardise on one, if the Xen
> maintainers think this is worth doing.  Otherwise I'll just
> get rid of the -Werror for now ...

I'm a big fan of -Werror.

It sounds like we should change the generic string implementation. 

Best,
Ian


-------------------------------------------------------
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_ide95&alloc_id396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel