mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:36:00 +01:00
Set meson warning_level
This commit is contained in:
parent
b0fc5016d4
commit
f545992aeb
1 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
project('zathura', 'c',
|
project('zathura', 'c',
|
||||||
version: '0.4.5',
|
version: '0.4.5',
|
||||||
meson_version: '>=0.47',
|
meson_version: '>=0.47',
|
||||||
default_options: 'c_std=c11',
|
default_options: ['c_std=c11', 'warning_level=3'],
|
||||||
)
|
)
|
||||||
|
|
||||||
version = meson.project_version()
|
version = meson.project_version()
|
||||||
|
@ -57,9 +57,6 @@ defines = [
|
||||||
|
|
||||||
# compile flags
|
# compile flags
|
||||||
flags = [
|
flags = [
|
||||||
'-Wall',
|
|
||||||
'-Wextra',
|
|
||||||
'-pedantic',
|
|
||||||
'-Werror=implicit-function-declaration',
|
'-Werror=implicit-function-declaration',
|
||||||
'-Werror=vla',
|
'-Werror=vla',
|
||||||
'-fvisibility=hidden'
|
'-fvisibility=hidden'
|
||||||
|
|
Loading…
Reference in a new issue