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



commit 6be9d1dfa7e1f7d3ca05660252d4fb679b196d70
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 eae86c56..fbe479eb 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]