Author: mmacy Date: Fri May 4 18:25:07 2018 New Revision: 333257 URL: https://svnweb.freebsd.org/changeset/base/333257
Log: fix gcc8 compile Approved by: sbruno Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk ============================================================================== --- head/sys/conf/kern.mk Fri May 4 17:17:30 2018 (r333256) +++ head/sys/conf/kern.mk Fri May 4 18:25:07 2018 (r333257) @@ -65,6 +65,9 @@ CWARNEXTRA+= -Wno-error=misleading-indentation \ -Wno-error=shift-overflow \ -Wno-error=tautological-compare .endif +.if ${COMPILER_VERSION} >= 80000 +CWARNEXTRA+= -Wno-error=packed-not-aligned +.endif .else # For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars. CWARNEXTRA?= -Wno-uninitialized _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"