From owner-svn-src-all@FreeBSD.ORG Thu Aug 22 08:12:58 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D4AD383C; Thu, 22 Aug 2013 08:12:58 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9769B279D; Thu, 22 Aug 2013 08:12:58 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id E0BAA4B95; Thu, 22 Aug 2013 08:12:56 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id EE4CF2FB7D; Thu, 22 Aug 2013 10:12:48 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "David E. O'Brien" Subject: Re: svn commit: r254626 - stable/9/usr.bin/yacc References: <201308212257.r7LMvUmY053608@svn.freebsd.org> Date: Thu, 22 Aug 2013 10:12:39 +0200 In-Reply-To: <201308212257.r7LMvUmY053608@svn.freebsd.org> (David E. O'Brien's message of "Wed, 21 Aug 2013 22:57:30 +0000 (UTC)") Message-ID: <8638q2i1oo.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 08:12:58 -0000 "David E. O'Brien" writes: > Log: > Provide a prototype for yyparse() so that "-Werror" along with stringent > -W* warnings can be used on byacc's output. This breaks the build in usr.bin/expr because expr.y already provides a prototype, and gcc does not accept multiple prototypes, even if they're identical. That is arguably a bug in gcc, but in the meantime, it should be fixed either by reverting this commit or removing the extra prototype in expr.y. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no