[gtksourceview/wip/chergert/gsv-gtk4: 26/117] build: require c11



commit 9d0be988242d6f6c677174bc10951ec0882fbd5c
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jan 9 09:53:00 2020 -0800

    build: require c11
    
    We should bump this early so that it is clear we are requiring
    a more modern set of compiler requirements going forward.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 7517d672..755cfe4b 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project('gtksourceview', 'c',
           version: '4.99.0',
           license: 'LGPL-2.1-or-later',
     meson_version: '>= 0.50.0',
-  default_options: [ 'c_std=gnu99',
+  default_options: [ 'c_std=gnu11',
                      'buildtype=debugoptimized',
                      'warning_level=2' ],
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]