diff mbox series

Disable -Waddress-of-packed-member for GCC9

Message ID 20190618060944.8386-1-stewart@linux.ibm.com
State Accepted
Headers show
Series Disable -Waddress-of-packed-member for GCC9 | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (dbf27b6c4af84addb36bd3be34f96580aba9c873)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot fail Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Stewart Smith June 18, 2019, 6:09 a.m. UTC
We throw a bunch of errors in errorlog code otherwise, which we should
fix, but we don't *have* to yet.

Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
---
 Makefile.main | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Stewart Smith June 19, 2019, 4:51 a.m. UTC | #1
Stewart Smith <stewart@linux.ibm.com> writes:
> We throw a bunch of errors in errorlog code otherwise, which we should
> fix, but we don't *have* to yet.

Merged to master as of b904cb733750de1bb0e04e5012c391a9c3094d11
diff mbox series

Patch

diff --git a/Makefile.main b/Makefile.main
index 193787894b4b..fac6e4487460 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -125,7 +125,8 @@  endif
 CFLAGS += $(call try-cflag,$(CC),-Wjump-misses-init) \
 	  $(call try-cflag,$(CC),-Wsuggest-attribute=const) \
 	  $(call try-cflag,$(CC),-Wsuggest-attribute=noreturn) \
-	  $(call try-cflag,$(CC),-Wstack-usage=1024)
+	  $(call try-cflag,$(CC),-Wstack-usage=1024) \
+	  $(call try-cflag,$(CC),-Wno-error=address-of-packed-member)
 
 CFLAGS += $(CWARNS) $(OPTS) $(DBG)