From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC04F139695 for ; Tue, 30 May 2017 21:25:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F26B821C091; Tue, 30 May 2017 21:25:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4BF221C091 for ; Tue, 30 May 2017 21:25:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E74A134171D for ; Tue, 30 May 2017 21:25:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89300746E for ; Tue, 30 May 2017 21:25:05 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1496130702.688566c535111a141f77caf88db12a4338544f7b.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: mk/ X-VCS-Repository: proj/openrc X-VCS-Files: mk/cc.mk X-VCS-Directories: mk/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 688566c535111a141f77caf88db12a4338544f7b X-VCS-Branch: master Date: Tue, 30 May 2017 21:25:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a6d658b3-7220-4324-be27-258774473751 X-Archives-Hash: 41bbe06ff9c8af165791766fdc7237d0 commit: 688566c535111a141f77caf88db12a4338544f7b Author: Sergei Trofimovich inbox ru> AuthorDate: Tue May 30 07:51:42 2017 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue May 30 07:51:42 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=688566c5 mk/cc.mk: make implicit function declarations fatal (#136) Avoids issues with missing prototypes causing truncation of pointers. Signed-off-by: Sergei Trofimovich gentoo.org> mk/cc.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mk/cc.mk b/mk/cc.mk index c9f7f355..6d47aa62 100644 --- a/mk/cc.mk +++ b/mk/cc.mk @@ -26,7 +26,8 @@ _CCFLAGS= -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 \ -Wnested-externs \ -Winline -Wwrite-strings -Wcast-align -Wcast-qual \ -Wpointer-arith \ - -Wdeclaration-after-statement -Wsequence-point + -Wdeclaration-after-statement -Wsequence-point \ + -Werror=implicit-function-declaration # We should be using -Wredundant-decls, but our library hidden proto stuff # gives loads of warnings. I don't fully understand it (the hidden proto,