[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] fix warnings on NetBSD
From: |
Christoph Egger |
Subject: |
[Qemu-devel] Re: [PATCH] fix warnings on NetBSD |
Date: |
Mon, 10 Nov 2008 18:35:34 +0200 |
User-agent: |
KMail/1.9.7 |
On Monday 10 November 2008 17:03:27 Blue Swirl wrote:
> On 11/10/08, Christoph Egger <address@hidden> wrote:
> > Hi!
> >
> > Attached patch fixes a series of this warning
> > when compiling on NetBSD:
> >
> > warning: array subscript has type 'char'
>
> There has been some discussion on ctype.h macro problems, please see:
> http://lists.gnu.org/archive/html/qemu-devel/2008-08/msg01239.html
>
> I'd vote for introducing qemu_isfoobar and qemu_towombat instead of casts.
Attached patch introduces a CTYPE macro as mentioned on this mail.
The diff in qemu-common.h has been taken from xen ioemu.
Signed-off-by: Christoph Egger <address@hidden>
--
AMD Saxony, Dresden, Germany
Operating System Research Center
Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
Dr. Hans-R. Deppe, Thomas McCoy
qemu.diff
Description: Text Data