Set meson warning_level

This commit is contained in:
Sebastian Ramacher 2020-04-26 16:25:57 +02:00
parent b0fc5016d4
commit f545992aeb

View file

@ -1,7 +1,7 @@
project('zathura', 'c',
version: '0.4.5',
meson_version: '>=0.47',
default_options: 'c_std=c11',
default_options: ['c_std=c11', 'warning_level=3'],
)
version = meson.project_version()
@ -57,9 +57,6 @@ defines = [
# compile flags
flags = [
'-Wall',
'-Wextra',
'-pedantic',
'-Werror=implicit-function-declaration',
'-Werror=vla',
'-fvisibility=hidden'