summary refs log tree commit diff stats
path: root/scripts/cocci-macro-file.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-12-10 17:47:46 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-12-15 12:52:11 -0500
commit28f86163a4395fd67203f9482cbca508c216de74 (patch)
treec5742795dbb57c22057bab9a969850acebbd0f04 /scripts/cocci-macro-file.h
parentdb5deef996e78f02e2fec0c2453de8d0db749832 (diff)
downloadfocaccia-qemu-28f86163a4395fd67203f9482cbca508c216de74.tar.gz
focaccia-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 'scripts/cocci-macro-file.h')
0 files changed, 0 insertions, 0 deletions