]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: ask for -std=gnu99 explicitly
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 7 Oct 2019 13:07:28 +0000 (14:07 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 7 Oct 2019 14:50:57 +0000 (15:50 +0100)
commit23605f58bfd5c47d0f6fbd2aa57a8bda15e720df
treed11b618a358fc548e2662e65f1352422494948c1
parent8ab67fb64f155089f1212f19d1a72c33cb50ce2a
build: ask for -std=gnu99 explicitly

We previously got -std=gnu99 secretly enabled as a side-effect
of requesting the 'stdarg' gnulib module. We rely on some
extensions from c99/gnu99 and while RHEL-7 supports this, it
still defaults to gnu89.  RHEL-7 also supports some newer
standards but declares them experimental/incomplete, so sticking
with gnu99 is best bet for now & matches historical usage.

Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
m4/virt-compile-warnings.m4