svn commit: r303188 - head/share/mk

Ruslan Bukin ruslan.bukin at cl.cam.ac.uk
Fri Jul 22 23:31:29 UTC 2016


On Fri, Jul 22, 2016 at 03:20:51PM -0700, Ngie Cooper wrote:
> On Fri, Jul 22, 2016 at 2:57 PM, Bruce Evans <brde at 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



More information about the svn-src-head mailing list