Anastasia Klimchuk has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/58561 )
Change subject: [WIP] Add -W options from Makefile into meson warning_flags ......................................................................
[WIP] Add -W options from Makefile into meson warning_flags
Lots of new warnings in tests/ and ich_descriptors_tool, and since warnings are now treated as errors, the patch does not build. Which is totally as expected.
EXPERIMENTAL, WORK IN PROGRESS
Change-Id: Id401bfd642dc3c13d85bd9a2dba56ada38714c25 Signed-off-by: Anastasia Klimchuk aklm@chromium.org --- M meson.build 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/61/58561/1
diff --git a/meson.build b/meson.build index 86657ce..965e905 100644 --- a/meson.build +++ b/meson.build @@ -18,6 +18,11 @@ '-Wno-address-of-packed-member', '-Wno-enum-conversion', '-Wno-missing-braces', + '-Werror', + '-Wall', + '-Wextra', + '-Wshadow', + '-Wmissing-prototypes', ]
conf = configuration_data()