From owner-svn-src-stable-9@FreeBSD.ORG Thu Aug 22 08:15:51 2013 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9D5FBB46; Thu, 22 Aug 2013 08:15:51 +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 5CFB427C4; Thu, 22 Aug 2013 08:15:50 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id 3C3BA4BB2; Thu, 22 Aug 2013 08:15:50 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 43EDA2FB7F; Thu, 22 Aug 2013 10:15:12 +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> <8638q2i1oo.fsf@nine.des.no> Date: Thu, 22 Aug 2013 10:15:11 +0200 In-Reply-To: <8638q2i1oo.fsf@nine.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8r?= =?utf-8?Q?grav=22's?= message of "Thu, 22 Aug 2013 10:12:39 +0200") Message-ID: <86y57ugn00.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-stable-9@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 08:15:51 -0000 Dag-Erling Sm=C3=B8rgrav writes: > 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, Oh, it's actually our own fault for including -Wredundant-decls in CFLAGS. Is there a good reason to keep it? -Wredundant-decls Warn if anything is declared more than once in the same scope, e= ven in cases where multiple declaration is valid and changes nothing. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no