[Spice-devel] [PATCH spice-common v2] meson: Remove -std=c99

Christophe Fergeau cfergeau at redhat.com
Tue Jul 10 08:49:58 UTC 2018


On Mon, Jul 09, 2018 at 11:41:55AM +0100, Frediano Ziglio wrote:
> This flag disable some compiler feature which is used by some system header
> potentially introducing some limitations.
> Autotools won't add any flag to limit compiler features to C99, instead it
> currently only add flags to support C99 when needed.
> For instance some Posix limitations changes (like _POSIX_OPEN_MAX).
> As compiler feature for instance _Static_assert is not used.

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

though I'm starting to miss the various convenience macros we had in
autoconf ;) "I want C99 or newer" is one, the many_warnings.m4 was
another one too (currently, the warnings with autotools and meson are
different).

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180710/f0df62f8/attachment.sig>


More information about the Spice-devel mailing list