Jacob Garber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33864
Change subject: payloads/coreinfo: Enable -Wextra ......................................................................
payloads/coreinfo: Enable -Wextra
This enables extra useful warnings.
Change-Id: I3d54988935c7df9ac0dc2f7aceb56fb720c9c4d1 Signed-off-by: Jacob Garber jgarber1@ualberta.ca --- M payloads/coreinfo/Makefile 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/64/33864/1
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile index 50659d3..1a34dbe 100644 --- a/payloads/coreinfo/Makefile +++ b/payloads/coreinfo/Makefile @@ -83,7 +83,7 @@ LPCC := CC="$(CC)" $(LIBPAYLOAD_OBJ)/bin/lpgcc LPAS := AS="$(AS)" $(LIBPAYLOAD_OBJ)/bin/lpas
-CFLAGS += -Wall -Werror -Os -fno-builtin $(CFLAGS_$(ARCH-y)) $(INCLUDES) +CFLAGS += -Wall -Wextra -Os -fno-builtin $(CFLAGS_$(ARCH-y)) $(INCLUDES)
ifneq ($(strip $(HAVE_DOTCONFIG)),) include $(src)/.config
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33864 )
Change subject: payloads/coreinfo: Enable -Wextra ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/33864/1/payloads/coreinfo/Makefile File payloads/coreinfo/Makefile:
https://review.coreboot.org/#/c/33864/1/payloads/coreinfo/Makefile@a86 PS1, Line 86: Please, why -Werror is removed ?
Jacob Garber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33864 )
Change subject: payloads/coreinfo: Enable -Wextra ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/33864/1/payloads/coreinfo/Makefile File payloads/coreinfo/Makefile:
https://review.coreboot.org/#/c/33864/1/payloads/coreinfo/Makefile@a86 PS1, Line 86:
Please, why -Werror is removed ?
Oops, good catch
Hello HAOUAS Elyes, David Hendricks, Paul Menzel, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/33864
to look at the new patch set (#2).
Change subject: payloads/coreinfo: Enable -Wextra ......................................................................
payloads/coreinfo: Enable -Wextra
This enables extra useful warnings.
Change-Id: I3d54988935c7df9ac0dc2f7aceb56fb720c9c4d1 Signed-off-by: Jacob Garber jgarber1@ualberta.ca --- M payloads/coreinfo/Makefile 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/64/33864/2
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33864 )
Change subject: payloads/coreinfo: Enable -Wextra ......................................................................
Patch Set 2: Code-Review+2
Martin Roth has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/33864 )
Change subject: payloads/coreinfo: Enable -Wextra ......................................................................
payloads/coreinfo: Enable -Wextra
This enables extra useful warnings.
Change-Id: I3d54988935c7df9ac0dc2f7aceb56fb720c9c4d1 Signed-off-by: Jacob Garber jgarber1@ualberta.ca Reviewed-on: https://review.coreboot.org/c/coreboot/+/33864 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: HAOUAS Elyes ehaouas@noos.fr --- M payloads/coreinfo/Makefile 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile index 50659d3..a98342f 100644 --- a/payloads/coreinfo/Makefile +++ b/payloads/coreinfo/Makefile @@ -83,7 +83,7 @@ LPCC := CC="$(CC)" $(LIBPAYLOAD_OBJ)/bin/lpgcc LPAS := AS="$(AS)" $(LIBPAYLOAD_OBJ)/bin/lpas
-CFLAGS += -Wall -Werror -Os -fno-builtin $(CFLAGS_$(ARCH-y)) $(INCLUDES) +CFLAGS += -Wall -Wextra -Werror -Os -fno-builtin $(CFLAGS_$(ARCH-y)) $(INCLUDES)
ifneq ($(strip $(HAVE_DOTCONFIG)),) include $(src)/.config