[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH v3 0/2] Force the C standard to gnu99

From: Thomas Huth
Subject: [Qemu-ppc] [PATCH v3 0/2] Force the C standard to gnu99
Date: Wed, 9 Jan 2019 17:39:34 +0100

Different versions of GCC and Clang use different versions of the C
standard by default. To avoid compilation problems with different
compilers in the future, we should enforce one language level
for all compilers. Since "gnu99" is the only usable option right now
(later versions are still marked as experimental in GCC v4.8),
we enforce compiling with -std=gnu99 now (in the second patch).
This caused some new warnings/erros to appear with clang, which are
fixed by the first patch now.

Thomas Huth (2):
  include/hw/ppc: Fix compilation with clang -std=gnu99
  configure: Force the C standard to gnu99

 configure                   | 5 ++++-
 include/hw/ppc/spapr.h      | 4 ++--
 include/hw/ppc/spapr_xive.h | 2 +-
 include/hw/ppc/xics.h       | 4 ++--
 4 files changed, 9 insertions(+), 6 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]