diff options
| author | Eric Blake | 2020-03-17 18:55:34 +0100 |
|---|---|---|
| committer | John Snow | 2020-03-18 19:03:46 +0100 |
| commit | 9bda600b0833821685e23068e50be5134dc0ab05 (patch) | |
| tree | 814ff0dd4076c651236a5387d4b72f1e5eba6166 /include | |
| parent | Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (diff) | |
| download | qemu-9bda600b0833821685e23068e50be5134dc0ab05.tar.gz qemu-9bda600b0833821685e23068e50be5134dc0ab05.tar.xz qemu-9bda600b0833821685e23068e50be5134dc0ab05.zip | |
build: Silence clang warning on older glib autoptr usage
glib's G_DEFINE_AUTOPTR_CLEANUP_FUNC() macro defines several static
inline functions, often with some of them unused, but prior to 2.57.2
did not mark the functions as such. As a result, clang (but not gcc)
fails to build with older glib unless -Wno-unused-function is enabled.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20200317175534.196295-1-eblake@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
