qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: andrzej zaborowski <balrogg@gmail.com>
To: Kent Harris <ksh@vine.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Suggestions
Date: Fri, 15 May 2009 15:02:37 +0200	[thread overview]
Message-ID: <fb249edb0905150602u4a94aaeawc7a5f251f6e7e804@mail.gmail.com> (raw)
In-Reply-To: <3D9EBD32-8C1C-4CF7-A7D7-A33FEBADF995@vine.com>

2009/5/14 Kent Harris <ksh@vine.com>:
> net.h:  looks like a structure member "void *private" was added.  C++
> compilers will not accept this since "public", "protected", and "private"
> are keywords to denote scope.  This problem may exist in other header files.

You can use
extern "C" { }
around the #includes of the C files in your C++ code if you don't need
to access the fields named with C++ keywords (if you do, you might
need to #define them to something before the #include).

Cheers

      parent reply	other threads:[~2009-05-15 13:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-14 19:57 [Qemu-devel] Suggestions Kent Harris
2009-05-14 21:35 ` Anthony Liguori
2009-06-05 18:32   ` Kent Harris
2009-05-15 13:02 ` 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=fb249edb0905150602u4a94aaeawc7a5f251f6e7e804@mail.gmail.com \
    --to=balrogg@gmail.com \
    --cc=ksh@vine.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).