diff options
author | Marc-André Lureau | 2020-12-10 14:47:46 +0100 |
---|---|---|
committer | Paolo Bonzini | 2020-12-15 18:52:11 +0100 |
commit | 28f86163a4395fd67203f9482cbca508c216de74 (patch) | |
tree | c5742795dbb57c22057bab9a969850acebbd0f04 /nbd/nbd-internal.h | |
parent | virtiofsd: replace _Static_assert with QEMU_BUILD_BUG_ON (diff) | |
download | qemu-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/nbd-internal.h')
0 files changed, 0 insertions, 0 deletions