[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Qemu c++ build question
From: |
Liviu Ionescu |
Subject: |
Re: [Qemu-devel] Qemu c++ build question |
Date: |
Wed, 17 Jan 2018 03:36:42 +0200 |
> On 17 Jan 2018, at 03:14, Ancuta, Cristian <address@hidden> wrote:
>
> I'm currently working on implementing an emulation target in QEMU and the
> implementation is in C++.
it might not be the answer you expect, but last time I tried to do a similar
thing I encountered a problem that prevented the direct C++ integration into
QEMU.
I don't know if it is still the case, but a field in one of the main headers
defining objects was called `class`, a reserved name in C++.
so be sure you isolate the C++ code outside QEMU and access it only via a C
interface; also be sure you do not include the QEMU headers in C++ files.
regards,
Liviu