Re: [PATCH v2 08/13] compiler.h: explicit case for Clang printf attribute

2020-11-26 Thread Peter Maydell
On Thu, 26 Nov 2020 at 11:30, wrote: > > From: Marc-André Lureau > > 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

[PATCH v2 08/13] compiler.h: explicit case for Clang printf attribute

2020-11-26 Thread marcandre . lureau
From: Marc-André Lureau 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 explicit