ref: 93ab93dedcbe17fa9a5d4342d5ed6ec31bfd2bfc
parent: 703c72fd3ff43365929c6181662ba5495349cc46
author: Martin Storsjö <martin@martin.st>
date: Thu Feb 7 09:30:26 EST 2019
meson: Try building with -Wshorten-64-to-32 This adds a bunch more warnings, some similar to the ones produced by MSVC by default.
--- a/meson.build
+++ b/meson.build
@@ -182,6 +182,7 @@
'-Wno-missing-field-initializers',
'-Wno-unused-parameter',
'-Werror=missing-prototypes',
+ '-Wshorten-64-to-32',
]
if cc.get_id() == 'msvc'
optional_arguments += [