Commit 93ab93de authored by Martin Storsjö's avatar Martin Storsjö Committed by Ronald S. Bultje

meson: Try building with -Wshorten-64-to-32

This adds a bunch more warnings, some similar to the ones produced
by MSVC by default.
parent 703c72fd
Pipeline #4560 passed with stages
in 6 minutes and 38 seconds
...@@ -182,6 +182,7 @@ optional_arguments = [ ...@@ -182,6 +182,7 @@ optional_arguments = [
'-Wno-missing-field-initializers', '-Wno-missing-field-initializers',
'-Wno-unused-parameter', '-Wno-unused-parameter',
'-Werror=missing-prototypes', '-Werror=missing-prototypes',
'-Wshorten-64-to-32',
] ]
if cc.get_id() == 'msvc' if cc.get_id() == 'msvc'
optional_arguments += [ optional_arguments += [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment