From: "andrzej zaborowski" <balrogg@gmail.com>
To: Paul Brook <paul@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [4363] MusicPal: fix gcc4 build (Jan Kiszka).
Date: Wed, 7 May 2008 15:53:48 +0200 [thread overview]
Message-ID: <fb249edb0805070653k62b6a3d4w3f0e98ada9c2d421@mail.gmail.com> (raw)
In-Reply-To: <200805071253.45209.paul@codesourcery.com>
On 07/05/2008, Paul Brook <paul@codesourcery.com> 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.
prev parent reply other threads:[~2008-05-07 13:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-06 15:01 [Qemu-devel] [4363] MusicPal: fix gcc4 build (Jan Kiszka) Andrzej Zaborowski
2008-05-06 15:25 ` Paul Brook
2008-05-06 16:02 ` [Qemu-devel] " Jan Kiszka
2008-05-07 11:39 ` andrzej zaborowski
2008-05-07 11:53 ` Paul Brook
2008-05-07 12:01 ` Daniel P. Berrange
2008-05-07 12:26 ` Andreas Schwab
2008-05-07 12:04 ` Andreas Schwab
2008-05-07 13:53 ` andrzej zaborowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fb249edb0805070653k62b6a3d4w3f0e98ada9c2d421@mail.gmail.com \
--to=balrogg@gmail.com \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).