Mesa (main): c_std=c11 in meson default_options

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jun 20 10:31:14 UTC 2021


Module: Mesa
Branch: main
Commit: 89b4f337d50c01c5782e19ee40b57a6c9e4b324b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89b4f337d50c01c5782e19ee40b57a6c9e4b324b

Author: Yurii Kolesnykov <root at yurikoles.com>
Date:   Wed Sep 30 14:35:30 2020 +0300

c_std=c11 in meson default_options

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1020

Co-authored-by: Kristian Høgsberg <krh at bitplanet.net>
Acked-by: Karol Herbst <kherbst at redhat.com>
Acked-by: Eric Engestrom <eric at engestrom.ch>
Signed-off-by: Yurii Kolesnykov <root at yurikoles.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6935>

---

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index db9e44e9654..ff333961a0d 100644
--- a/meson.build
+++ b/meson.build
@@ -26,7 +26,7 @@ project(
   ).stdout(),
   license : 'MIT',
   meson_version : '>= 0.52',
-  default_options : ['buildtype=debugoptimized', 'b_ndebug=if-release', 'c_std=c99', 'cpp_std=c++14']
+  default_options : ['buildtype=debugoptimized', 'b_ndebug=if-release', 'c_std=c11', 'cpp_std=c++14']
 )
 
 cc = meson.get_compiler('c')



More information about the mesa-commit mailing list