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é <berra...@redhat.com> > Signed-off-by: Thomas Huth <th...@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 <stefa...@redhat.com>
signature.asc
Description: PGP signature