meson: Set default warning level to 2

pull/195/head
Andri Yngvason 2022-11-26 18:00:50 +00:00
parent 80efc9d487
commit 800a460444
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ project(
license: 'ISC', license: 'ISC',
default_options: [ default_options: [
'c_std=gnu11', 'c_std=gnu11',
'warning_level=2',
], ],
) )
@ -16,6 +17,8 @@ c_args = [
'-DPROJECT_VERSION="@0@"'.format(meson.project_version()), '-DPROJECT_VERSION="@0@"'.format(meson.project_version()),
'-D_GNU_SOURCE', '-D_GNU_SOURCE',
'-DAML_UNSTABLE_API=1', '-DAML_UNSTABLE_API=1',
'-Wno-unused-parameter',
] ]
git = find_program('git', native: true, required: false) git = find_program('git', native: true, required: false)