qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [4363] MusicPal: fix gcc4 build (Jan Kiszka).


From: andrzej zaborowski
Subject: Re: [Qemu-devel] Re: [4363] MusicPal: fix gcc4 build (Jan Kiszka).
Date: Wed, 7 May 2008 15:53:48 +0200

On 07/05/2008, Paul Brook <address@hidden> wrote:
> > I'm not sure what's wrong with void * arithmetics though. They are
>  > specified (somewhere) to work as if the type was a char *, and the
>  > only annoyance is that you have to remember that.
>
>
> It doesn't work in C++ for a start.
>  I thought it was a GCC extension, though I could be wrong about that.

Sorry, you're right.  The specs say that a void pointer should have
the representation and alignment requirements of a char pointer and I
interpreted it wrongly.
-- 
Please do not print this email unless absolutely necessary. Spread
environmental awareness.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]