Re: [PATCH xserver 4/6] meson: Default to gnu99

2017-09-28 Thread Eric Anholt
Adam Jackson  writes:

> We don't really require all of C99, but enough that it's not worth
> bothering with the distinction, especially if your toolchain is new
> enough that meson is a thing for you. We could do strict C99 if we
> really insisted on spelling it __typeof__, but who wants that? Nobody,
> that's who.
>
> Signed-off-by: Adam Jackson 

Patch 1-4 are:

Reviewed-by: Eric Anholt 


signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

[PATCH xserver 4/6] meson: Default to gnu99

2017-09-27 Thread Adam Jackson
We don't really require all of C99, but enough that it's not worth
bothering with the distinction, especially if your toolchain is new
enough that meson is a thing for you. We could do strict C99 if we
really insisted on spelling it __typeof__, but who wants that? Nobody,
that's who.

Signed-off-by: Adam Jackson 
---
 meson.build | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 26fd9a8932..811d3d4ceb 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,8 @@
 project('xserver', 'c',
-default_options: ['buildtype=debugoptimized'],
+default_options: [
+'buildtype=debugoptimized',
+'c_std=gnu99',
+],
 version: '1.19.99.1',
 meson_version: '>= 0.40.0',
 )
-- 
2.13.5

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel