On Fri, Jul 22, 2016 at 03:20:51PM -0700, Ngie Cooper wrote: > On Fri, Jul 22, 2016 at 2:57 PM, Bruce Evans <b...@optusnet.com.au> wrote: > ... > >>> +# 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). > > Look for "-Wno-error=unused-const-variable=".
I copy-pasted this from compiler error message: /home/rb743/dev/freebsd-riscv/lib/libc/isc/ev_timers.c:23:19: error: 'rcsid' defined but not used [-Werror=unused-const-variable=] static const char rcsid[] = "$Id: ev_timers.c,v 1.6 2005/04/27 04:56:36 sra Exp $"; I am not sure yet why compiler set extra trailing = for some errors only Ruslan _______________________________________________ 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"