From 7ec74308b5b7fd6a61e7465b422bdecea475d579 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 25 May 2023 15:10:45 -0700 Subject: [PATCH] build: update required compiler versions --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 1db87099..e9e22034 100644 --- a/meson.build +++ b/meson.build @@ -2,8 +2,8 @@ project('sysprof', 'c', license: ['GPL3+', 'GPL2+'], version: '45.alpha', meson_version: '>=0.59.0', - default_options: [ 'c_std=gnu11', - 'cpp_std=c++11', + default_options: [ 'c_std=gnu17', + 'cpp_std=gnu++17', 'warning_level=2', ] ) @@ -161,7 +161,7 @@ test_c_args = [ '-Wswitch-default', '-Wswitch-enum', '-Wuninitialized', - ['-Werror=format-security', '-Werror=format=2' ], + ['-Werror=format-security', '-Werror=format=2'], '-Werror=empty-body', '-Werror=implicit-function-declaration', '-Werror=pointer-arith',