On 22.10.20 19:58, Andrea Bastoni wrote: > Re-introduce Werror that was temporarily removed in 94ed4d4d1a30. > Remove Wno-error* and consolidate the CFLAGS warnings. > > Signed-off-by: Andrea Bastoni <[email protected]> > --- > hypervisor/Makefile | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/hypervisor/Makefile b/hypervisor/Makefile > index 524653aa..8e3f946d 100644 > --- a/hypervisor/Makefile > +++ b/hypervisor/Makefile > @@ -26,12 +26,10 @@ LINUXINCLUDE := -I$(src)/arch/$(SRCARCH)/include \ > -I$(src)/../include/arch/$(SRCARCH) \ > -I$(src)/../include > KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE > -KBUILD_CFLAGS := -g -Os -Wall -Wextra \ > +KBUILD_CFLAGS := -g -Os -Werror -Wall -Wextra \ > -Wstrict-prototypes -Wtype-limits \ > -Wmissing-declarations -Wmissing-prototypes \ > - -Wnested-externs -Wno-error=nested-externs \ > - -Wshadow -Wno-error=shadow \ > - -Wredundant-decls -Wno-error=redundant-decls \ > + -Wnested-externs -Wshadow -Wredundant-decls \ > -Wundef -Wdeprecated \ > -fno-strict-aliasing -fno-pic -fno-common \ > -fno-stack-protector -fno-builtin-ffsl \ >
Thanks for this again. Given the noisiness and the (assumed) low value, I would just go without Wunused-parameter for now. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/e51c05cd-8ad9-d771-cd19-545865d2701c%40siemens.com.
