whiterose

linux unikernel
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/whiterose

commit 217c3e0196758662aa0429863b09d1c13da1c5d6
parent b6935d2aa49dabff296680a6f349b32e5a16afe0
Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date:   Fri, 31 Aug 2018 07:47:28 +1000

disable stringop truncation warnings for now

They are too noisy

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Diffstat:
MMakefile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -807,6 +807,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) # disable pointer signed / unsigned warnings in gcc 4.0 KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign) +# disable stringop warnings in gcc 8+ +KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation) + # disable invalid "can't wrap" optimizations for signed / pointers KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)