svn commit: r279041 - in stable/8: sbin/hastctl sbin/hastd usr.bin/mklocale usr.sbin/bsnmpd/modules usr.sbin/config

Dimitry Andric dim at FreeBSD.org
Fri Feb 20 10:12:00 UTC 2015


On 20 Feb 2015, at 06:23, Ian Lepore <ian at FreeBSD.org> wrote:
> 
> Author: ian
> Date: Fri Feb 20 05:23:51 2015
> New Revision: 279041
> URL: https://svnweb.freebsd.org/changeset/base/279041
> 
> Log:
>  Lower some WARNS from 6 to 5 to eliminate redundant redeclaration errors
>  on yylex().  This allows stable-8 to build on machines running 10 or later
>  (with a newer yacc that emits its own declaration) and also keep building
>  on older machines with a yacc that doesn't do so.
> 
>  This is a direct commit to stable-8 because it fixes a problem that doesn't
>  exist on later branches.
> 
> Modified:
>  stable/8/sbin/hastctl/Makefile
>  stable/8/sbin/hastd/Makefile
>  stable/8/usr.bin/mklocale/Makefile
>  stable/8/usr.sbin/bsnmpd/modules/Makefile.inc
>  stable/8/usr.sbin/config/Makefile
> 
> Modified: stable/8/sbin/hastctl/Makefile
> ==============================================================================
> --- stable/8/sbin/hastctl/Makefile	Fri Feb 20 05:17:24 2015	(r279040)
> +++ stable/8/sbin/hastctl/Makefile	Fri Feb 20 05:23:51 2015	(r279041)
> @@ -17,7 +17,9 @@ SRCS+=	proto.c proto_common.c proto_uds.
> SRCS+=	token.l
> SRCS+=	subr.c
> SRCS+=	y.tab.h
> -WARNS?=	6
> +.warning WARNS is ${WARNS}
> +WARNS?=	5
> +.warning WARNS is now ${WARNS}
> MAN=	hastctl.8
> 
> NO_WFORMAT=
> 
> Modified: stable/8/sbin/hastd/Makefile
> ==============================================================================
> --- stable/8/sbin/hastd/Makefile	Fri Feb 20 05:17:24 2015	(r279040)
> +++ stable/8/sbin/hastd/Makefile	Fri Feb 20 05:23:51 2015	(r279041)
> @@ -17,7 +17,9 @@ SRCS+=	rangelock.c
> SRCS+=	subr.c
> SRCS+=	token.l
> SRCS+=	y.tab.h
> -WARNS?=	6
> +.warning WARNS is ${WARNS}
> +WARNS?=	5
> +.warning WARNS is now ${WARNS}
> MAN=	hastd.8 hast.conf.5

Hi Ian,

Did you really intend for these .warning directives to go in? :)

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150220/cc8b96ac/attachment.sig>


More information about the svn-src-all mailing list