diff options
| author | dec05eba <dec05eba@protonmail.com> | 2026-08-02 20:26:43 +0200 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2026-08-02 20:26:43 +0200 |
| commit | ca4fabc1d67b8d253d6c476fa47668c01288e20f (patch) | |
| tree | 7e5a0fa1cf865615cf307dc4dc2aeec9070e5bf1 | |
| parent | 8397e7307eb68c857117d74ba332916bb7af6be4 (diff) | |
Set c standard to c11
| -rw-r--r-- | meson.build | 2 | ||||
| -rw-r--r-- | project.conf | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meson.build b/meson.build index bebfa3d..41a5d38 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('gpu-screen-recorder', 'c', version : '5.15.3', default_options : ['warning_level=2']) +project('gpu-screen-recorder', 'c', version : '5.15.3', default_options : ['c_std=c11', 'warning_level=2']) add_project_arguments('-Wshadow', language : 'c') if get_option('buildtype') == 'debug' diff --git a/project.conf b/project.conf index 38af0ba..f57b88b 100644 --- a/project.conf +++ b/project.conf @@ -4,11 +4,11 @@ type = "executable" version = "5.15.3" platforms = ["posix"] -[lang.cpp] -version = "c++17" +[lang.c] +version = "c11" [config] -ignore_dirs = ["kms/server", "src/gsr_cli", "build", "debug-build", "plugin/examples"] +ignore_dirs = ["kms/server", "tools", "build", "debug-build", "plugin/examples"] #error_on_warning = "true" [define] |
