[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] Remove the CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE switch
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v2] Remove the CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE switch |
Date: |
Fri, 10 Jul 2020 13:50:16 +0100 |
On Fri, Jul 10, 2020 at 06:55:15AM +0200, Thomas Huth wrote:
> GCC supports "#pragma GCC diagnostic" since version 4.6, and
> Clang seems to support it, too, since its early versions 3.x.
> That means that our minimum required compiler versions all support
> this pragma already and we can remove the test from configure and
> all the related #ifdefs in the code.
>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> v2: Keep the !defined(__clang__) in coroutine-ucontext.c
>
> configure | 29 -----------------------------
> include/ui/gtk.h | 4 ----
> include/ui/qemu-pixman.h | 4 ----
> scripts/decodetree.py | 12 ++++--------
> ui/gtk.c | 4 ----
> util/coroutine-ucontext.c | 4 ++--
> 6 files changed, 6 insertions(+), 51 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature