Date: Thu, 22 Aug 2013 01:25:22 -0400 From: Glen Barber <gjb@FreeBSD.org> To: "David E. O'Brien" <obrien@FreeBSD.org> Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org Subject: Re: svn commit: r254626 - stable/9/usr.bin/yacc Message-ID: <20130822052522.GA2285@glenbarber.us> In-Reply-To: <201308212257.r7LMvUmY053608@svn.freebsd.org> References: <201308212257.r7LMvUmY053608@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 21, 2013 at 10:57:30PM +0000, David E. O'Brien wrote: > Author: obrien > Date: Wed Aug 21 22:57:29 2013 > New Revision: 254626 > URL: http://svnweb.freebsd.org/changeset/base/254626 >=20 > Log: > Provide a prototype for yyparse() so that "-Werror" along with stringent > -W* warnings can be used on byacc's output. >=20 > Modified: > stable/9/usr.bin/yacc/skeleton.c >=20 > Modified: stable/9/usr.bin/yacc/skeleton.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- stable/9/usr.bin/yacc/skeleton.c Wed Aug 21 22:55:10 2013 (r254625) > +++ stable/9/usr.bin/yacc/skeleton.c Wed Aug 21 22:57:29 2013 (r254626) > @@ -196,6 +196,10 @@ const char *body[] =3D > "#endif /* ANSI-C/C++ */", > "#endif /* ! YYPARSE_PARAM */", > "", > + "#if defined(__cplusplus) || __STDC__", > + "extern int yyparse (YYPARSE_PARAM_ARG);", > + "#endif /* ANSI-C/C++ */", > + "", > "int", > "yyparse (YYPARSE_PARAM_ARG)", > " YYPARSE_PARAM_DECL", =3D=3D=3D> bin/expr (all) cc -O -pipe -std=3Dgnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c expr.c cc1: warnings being treated as errors expr.c:812: warning: redundant redeclaration of 'yyparse' /src/bin/expr/expr.y:77: warning: previous declaration of 'yyparse' was here *** Error code 1 Stop in /src/bin/expr. *** Error code 1 Stop in /src/bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-08-22 05:18:18 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-08-22 05:18:18 - ERROR: failed to build world TB --- 2013-08-22 05:18:18 - 1691.60 user 375.84 system 2575.39 real http://tinderbox.freebsd.org/tinderbox-freebsd9-build-RELENG_9-arm-arm.full Glen --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCAAGBQJSFaDCAAoJEFJPDDeguUajt1cH/0mqJ6zbatHjd8pVGHU8sN3O 2VravtYFxoTj3vlYNqNcg215N4dsHROvdimCliv0kZs+h8NuKaZKwYR/KMqSrpxV s+2lTJk8k0Ga3/OxySy/F+KUIVfGnqjDze0mqphFTHESN0MG6H/FfTRTWSBnnj9m EDc81wtpcyVzePJiMbqnECBnghe98N0wQ9wSbuR1uWPELnBFkC2Q0Z8N6S1tAUgB pGZed7VZysCqwV6/83uSIWRFQ/FpsPog++0dyvjWTd6Tndx5kssgh+rdgGM45Z+u pEg1noeH+mB6kLItPfQjw5O5jNuLVNfFhIXy6SauUI9b8juo1sehpBr6ciVhqtU= =91kR -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130822052522.GA2285>