On 02/02/2026 15:42, Cornelia Huck wrote:

On Mon, Feb 02 2026, Peter Maydell <[email protected]> wrote:

On Mon, 2 Feb 2026 at 04:04, Richard Henderson
<[email protected]> wrote:

On 1/30/26 04:41, Pierrick Bouvier wrote:
On 1/29/26 9:37 AM, Pierrick Bouvier wrote:
        contrib/plugins: add empty cpp plugin

Hi; this fails to build for me on Linux (Ubuntu 24.04) with clang:

In file included from ../../contrib/plugins/cpp.cpp:33:
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/coroutine:38:3:
error: "the <coroutine> header requires -fcoroutines"
    38 | # error "the <coroutine> header requires -fcoroutines"
       |   ^
1 error generated.

Fails for me as well on Fedora 42 (x86_64) with gcc:

In file included from ../qemu/contrib/plugins/cpp.cpp:33:
/usr/include/c++/15/coroutine:43:3: error: #error "the <coroutine> header requires 
-fcoroutines"
    43 | # error "the <coroutine> header requires -fcoroutines"
       |   ^~~~~

(It works for me on an aarch64 RHEL 9 system.)

Is this with a clean build? I had exactly the same error message earlier, but I was able to fix it by destroying my build/ directory, then re-running configure followed again by make.


ATB,

Mark.


Reply via email to