Remove the CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE switch

Enterprise / Virtualization / QEMU - Thomas Huth [redhat.com] - 13 July 2020 09:40 UTC

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.

7aa12aa215 Remove the CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE switch
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(-)

Upstream: git.qemu.org


  • Share