diff options
author | James Almer <jamrial@gmail.com> | 2021-06-20 22:48:29 +0300 |
---|---|---|
committer | Jean-Baptiste Kempf <jb@videolan.org> | 2021-06-20 23:24:48 +0300 |
commit | 27f0b245e0571849c22a32fc6be74d40d926ad83 (patch) | |
tree | 46971df7765c3bc329027042c111d002c95f8665 /meson.build | |
parent | a336f470edde80bb2252b99b2d1cbd7cd40f17d0 (diff) |
build: add -Wstrict-prototypes to the compiler arguments
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index ebbd092..3c8a5e7 100644 --- a/meson.build +++ b/meson.build @@ -247,6 +247,7 @@ if cc.get_argument_syntax() != 'msvc' '-Wno-maybe-uninitialized', '-Wno-missing-field-initializers', '-Wno-unused-parameter', + '-Wstrict-prototypes', '-Werror=missing-prototypes', '-Wshorten-64-to-32', ] |