diff options
| author | Joel Klinghed <the_jk@opera.com> | 2021-12-07 10:57:35 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@opera.com> | 2021-12-07 10:57:35 +0100 |
| commit | dfbe89a221eaa38a3cd1eea67969441c92693afe (patch) | |
| tree | 1a710894c9e4dccb6a7195c4447089b6b0201be9 | |
| parent | 82e82c31578d7b056b831aa2b0579efc9464e501 (diff) | |
Use builtin warning_level instead of -Wall -Wextra
| -rw-r--r-- | meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 76f8779..8f73770 100644 --- a/meson.build +++ b/meson.build @@ -1,10 +1,9 @@ project('monmon', 'cpp', version: '0.1', - default_options: ['cpp_std=c++11']) + default_options: ['cpp_std=c++11', 'warning_level=3']) cpp_optional_flags = ['-fno-rtti', '-fno-exceptions', '-fvisibility=hidden', - '-Wall', '-Wextra', '-Wno-missing-field-initializers', '-Wno-maybe-uninitialized'] cpp_flags = ['-DHAVE_CONFIG_H'] |
