From 85211665bc089513844f2276e1efe59a19bfff04 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Fri, 5 Sep 2025 07:55:16 +0200 Subject: [PATCH] Define project C standard to C99 The codebase's baseline is close to C99, with a good balance of familar code and backwards compatibility --- meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 09fd13b..8c0b373 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,9 @@ -project('bstring', 'c', version: '1.0.2', default_options: ['warning_level=2']) +project( + 'bstring', + 'c', + version: '1.0.2', + default_options: ['warning_level=2', 'c_std=c99'] +) cc = meson.get_compiler('c') pkg = import('pkgconfig')