Anastasia Klimchuk has uploaded this change for review.

View Change

[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()

To view, visit change 58561. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Id401bfd642dc3c13d85bd9a2dba56ada38714c25
Gerrit-Change-Number: 58561
Gerrit-PatchSet: 1
Gerrit-Owner: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-MessageType: newchange