HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33678
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Makefile: Use -Wold-style-definition
Warn if an old-style function definition is used.
Change-Id: I0180ff7d4898cd468ff86bcf821656537e4a7edb Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M 3rdparty/vboot M Makefile.inc 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/33678/1
diff --git a/3rdparty/vboot b/3rdparty/vboot index dac763c..850ac8f 160000 --- a/3rdparty/vboot +++ b/3rdparty/vboot @@ -1 +1 @@ -Subproject commit dac763c782ce05476dec02e855f349d2b6f3a910 +Subproject commit 850ac8f2ff6c5fa0dbdf9c8137bcc22a9546ace0 diff --git a/Makefile.inc b/Makefile.inc index 7ac0a82..73fd401 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -401,7 +401,7 @@
CFLAGS_common += -pipe -g -nostdinc -std=gnu11 CFLAGS_common += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes -CFLAGS_common += -Wwrite-strings -Wredundant-decls -Wno-trigraphs +CFLAGS_common += -Wwrite-strings -Wredundant-decls -Wno-trigraphs -Wold-style-definition CFLAGS_common += -Wstrict-aliasing -Wshadow -Wdate-time -Wtype-limits CFLAGS_common += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer CFLAGS_common += -ffunction-sections -fdata-sections -fno-pie
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33678 )
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Patch Set 1:
I would ask the Google people what they think of this first.
HAOUAS Elyes has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/33678 )
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Abandoned
too much
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33678 )
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Patch Set 1:
Did you look at fixing the problems in src/cpu/x86/smm/smm_module_handler.c?
We've got 2 definitions there that are probably pulled into every x86 platform. void __weak northbridge_smi_handler() {} void __weak southbridge_smi_handler() {}
I looked at a couple of platforms, and those were the only 2 issues I saw, despite the overwhelming number of failures.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33678 )
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Patch Set 1:
Patch Set 1:
Did you look at fixing the problems in src/cpu/x86/smm/smm_module_handler.c?
We've got 2 definitions there that are probably pulled into every x86 platform. void __weak northbridge_smi_handler() {} void __weak southbridge_smi_handler() {}
I looked at a couple of platforms, and those were the only 2 issues I saw, despite the overwhelming number of failures.
I don't think so: grep -r " __weak"
HAOUAS Elyes has restored this change. ( https://review.coreboot.org/c/coreboot/+/33678 )
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Restored
Hello build bot (Jenkins), Nico Huber, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/33678
to look at the new patch set (#2).
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Makefile: Use -Wold-style-definition
Warn if an old-style function definition is used.
Change-Id: I0180ff7d4898cd468ff86bcf821656537e4a7edb Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M Makefile.inc M src/cpu/x86/smm/smm_module_handler.c 2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/33678/2
HAOUAS Elyes has removed Nico Huber from this change. ( https://review.coreboot.org/c/coreboot/+/33678 )
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Removed reviewer Nico Huber.
HAOUAS Elyes has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/33678 )
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Abandoned