[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Suggestions
From: |
andrzej zaborowski |
Subject: |
Re: [Qemu-devel] Suggestions |
Date: |
Fri, 15 May 2009 15:02:37 +0200 |
2009/5/14 Kent Harris <address@hidden>:
> 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