diff options
author | Martin Storsjö <martin@martin.st> | 2019-02-07 15:30:26 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2019-02-13 01:46:50 +0300 |
commit | 93ab93dedcbe17fa9a5d4342d5ed6ec31bfd2bfc (patch) | |
tree | 934a24f656bc9c48b70f5ceec0b026ce8e4a5f3e /meson.build | |
parent | 703c72fd3ff43365929c6181662ba5495349cc46 (diff) |
meson: Try building with -Wshorten-64-to-32
This adds a bunch more warnings, some similar to the ones produced
by MSVC by default.
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 976efe9..97c537b 100644 --- a/meson.build +++ b/meson.build @@ -182,6 +182,7 @@ optional_arguments = [ '-Wno-missing-field-initializers', '-Wno-unused-parameter', '-Werror=missing-prototypes', + '-Wshorten-64-to-32', ] if cc.get_id() == 'msvc' optional_arguments += [ |