qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH  0/3] tweaks for QEMU's C standard
@ 2018-08-10 17:10 Alex Bennée
  2018-08-10 17:10 ` [Qemu-devel] [RFC PATCH 1/3] HACKING: mention the C GNU extensions we use Alex Bennée
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Alex Bennée @ 2018-08-10 17:10 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

Hi,

While I was reviewing Richard's SVE series I found Travis choking on
some perfectly valid c99. It turns out that Travis default image is
old enough that gcc defaults to -std=gnu89 hence the problem. However
switching to c99 isn't enough as we use GNUisms and even gnu99 still
trips up on qemu-secomp.

Of course we could just jump to C11 already?

This is an RFC because this could descend into a C standards
bike-shedding exercise but I thought I'd at least put it out there on
a Friday afternoon ;-)

Alex Bennée (3):
  HACKING: mention the C GNU extensions we use
  qemu-seccomp: manually expand SCMP_A1
  .travis.yml: ensure we support C99 on old compilers

 .travis.yml    | 2 +-
 HACKING        | 5 +++++
 qemu-seccomp.c | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-08-21 12:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-10 17:10 [Qemu-devel] [RFC PATCH 0/3] tweaks for QEMU's C standard Alex Bennée
2018-08-10 17:10 ` [Qemu-devel] [RFC PATCH 1/3] HACKING: mention the C GNU extensions we use Alex Bennée
2018-08-10 17:11 ` [Qemu-devel] [RFC PATCH 2/3] qemu-seccomp: manually expand SCMP_A1 Alex Bennée
2018-08-21 12:06   ` Eduardo Otubo
2018-08-10 17:11 ` [Qemu-devel] [RFC PATCH 3/3] .travis.yml: ensure we support C99 on old compilers Alex Bennée
2018-08-10 17:24   ` Philippe Mathieu-Daudé
2018-08-13  9:07 ` [Qemu-devel] [RFC PATCH 0/3] tweaks for QEMU's C standard Daniel P. Berrangé
2018-08-13  9:18   ` Daniel P. Berrangé
2018-08-13  9:29     ` Peter Maydell
2018-08-13  9:52     ` Alex Bennée
2018-08-13  9:25   ` Thomas Huth
2018-08-13 11:03     ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).