From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4x3l-0004MA-DZ for qemu-devel@nongnu.org; Fri, 15 May 2009 09:02:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4x3g-0004Aw-EI for qemu-devel@nongnu.org; Fri, 15 May 2009 09:02:44 -0400 Received: from [199.232.76.173] (port=46283 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4x3g-0004At-7l for qemu-devel@nongnu.org; Fri, 15 May 2009 09:02:40 -0400 Received: from mail-fx0-f219.google.com ([209.85.220.219]:46338) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M4x3f-0002JM-MQ for qemu-devel@nongnu.org; Fri, 15 May 2009 09:02:39 -0400 Received: by fxm19 with SMTP id 19so1829705fxm.34 for ; Fri, 15 May 2009 06:02:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <3D9EBD32-8C1C-4CF7-A7D7-A33FEBADF995@vine.com> References: <3D9EBD32-8C1C-4CF7-A7D7-A33FEBADF995@vine.com> Date: Fri, 15 May 2009 15:02:37 +0200 Message-ID: Subject: Re: [Qemu-devel] Suggestions From: andrzej zaborowski Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kent Harris Cc: qemu-devel@nongnu.org 2009/5/14 Kent Harris : > net.h: =C2=A0looks like a structure member "void *private" was added. =C2= =A0C++ > compilers will not accept this since "public", "protected", and "private" > are keywords to denote scope. =C2=A0This problem may exist in other heade= r 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