summaryrefslogtreecommitdiffstats
path: root/nbd/client.c
diff options
context:
space:
mode:
authorMarc-André Lureau2020-12-10 14:47:46 +0100
committerPaolo Bonzini2020-12-15 18:52:11 +0100
commit28f86163a4395fd67203f9482cbca508c216de74 (patch)
treec5742795dbb57c22057bab9a969850acebbd0f04 /nbd/client.c
parentvirtiofsd: replace _Static_assert with QEMU_BUILD_BUG_ON (diff)
downloadqemu-28f86163a4395fd67203f9482cbca508c216de74.tar.gz
qemu-28f86163a4395fd67203f9482cbca508c216de74.tar.xz
qemu-28f86163a4395fd67203f9482cbca508c216de74.zip
compiler.h: explicit case for Clang printf attribute
Since commit efc6c07 ("configure: Add a test for the minimum compiler version"), QEMU explicitely depends on GCC >= 4.8, we could thus drop earlier version checks. Except clang advertizes itself as GCC 4.2.1. Since clang doesn't support gnu_printf, make that case explicitely and drop GCC version check. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20201210134752.780923-8-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'nbd/client.c')
0 files changed, 0 insertions, 0 deletions