On 6/11/2020 9:12 AM, Thomas Monjalon wrote:
29/05/2020 01:14, Pallavi Kadam:
Added -Werror in meson file to consider all the warnings
as errors on Windows.

Signed-off-by: Pallavi Kadam <pallavi.ka...@intel.com>
Reviewed-by: Ranjit Menon <ranjit.me...@intel.com>
---
--- a/config/meson.build
+++ b/config/meson.build
+# add -Werror to treat warnings as errors on Windows
+if is_windows
+       warning_flags += '-Werror'
+endif
This should be not needed.
When configuring meson in a CI, we are supposed to use
--werror as it is done in devtools/test-meson-builds.sh.



Ok, will fix this in v4.

Reply via email to