Date: Sat, 23 Jul 2016 07:57:23 +1000 (EST) From: Bruce Evans <brde@optusnet.com.au> To: John Baldwin <jhb@freebsd.org> Cc: Ruslan Bukin <br@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r303188 - head/share/mk Message-ID: <20160723073428.K1265@besplex.bde.org> In-Reply-To: <1980140.IgFQbb5iVz@ralph.baldwin.cx> References: <201607221500.u6MF0c3S037470@repo.freebsd.org> <1980140.IgFQbb5iVz@ralph.baldwin.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Jul 2016, John Baldwin wrote: > On Friday, July 22, 2016 03:00:38 PM Ruslan Bukin wrote: >> >> Log: >> Add warn flags for GCC 6.1 compiler. >> >> Sponsored by: DARPA, AFRL >> >> Modified: >> head/share/mk/bsd.sys.mk >> >> Modified: head/share/mk/bsd.sys.mk >> ============================================================================== >> --- head/share/mk/bsd.sys.mk Fri Jul 22 14:57:26 2016 (r303187) >> +++ head/share/mk/bsd.sys.mk Fri Jul 22 15:00:38 2016 (r303188) >> @@ -114,6 +114,11 @@ CWARNFLAGS+= -Wno-format >> CWARNFLAGS+= -Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address >> .endif >> >> +# GCC 6.1.0 >> +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 >> +CWARNFLAGS+= -Wno-error=unused-const-variable= -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=misleading-indentation -Wno-error=tautological-compare >> +.endif > > Extra trailing = in the first one as well? I don't see one. I see only unreadably long lines containing unreadably unordered flags. Perhaps your mail client mangled the line splitting, but the above quite displays OK in mutt and vi here (except mutt makes the line wrapping especially ugly by highlighting it). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160723073428.K1265>