diff options
-rw-r--r-- | meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build index d78a5f2d6..2f618f75c 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,7 @@ project('cairo', 'c', 'cpp', meson_version: '>= 0.54.0', version: run_command(find_program('version.py'), check: true).stdout().strip(), + default_options: ['warning_level=2'], ) # Keep in sync with configure.ac! @@ -41,8 +42,6 @@ cc = meson.get_compiler('c') cflags = [] if cc.get_id() != 'msvc' cflags += [ - '-Wall', - '-Wextra', '-Wmissing-declarations', '-Werror-implicit-function-declaration', '-Wpointer-arith', |