qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_s


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page
Date: Wed, 21 Mar 2018 09:25:30 +0800
User-agent: Mutt/1.9.2 (2017-12-15)

On Tue, 03/20 12:34, address@hidden wrote:
> /tmp/qemu-test/src/migration/postcopy-ram.c:787:41: error: 'struct 
> PostCopyFD' declared inside parameter list will not be visible outside of 
> this definition or declaration [-Werror]
>  int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb,
>                                          ^~~~~~~~~~
> /tmp/qemu-test/src/migration/postcopy-ram.c:787:5: error: no previous 
> prototype for 'postcopy_request_shared_page' [-Werror=missing-prototypes]
>  int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb,
>      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors

Is a "#include ..." line missing?

Fam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]