From owner-freebsd-current@freebsd.org Tue May 22 00:47:05 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94C73EAAD2D for ; Tue, 22 May 2018 00:47:05 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic302-22.consmr.mail.ne1.yahoo.com (sonic302-22.consmr.mail.ne1.yahoo.com [66.163.186.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 35A8A78097 for ; Tue, 22 May 2018 00:47:04 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: DIWTxrMVM1mJg95o_psWBc.tMAM5ONvIsQWLTw6d6uXey9xSMoxHKq4bpgx9mjE KQ.xygXI82k_3j7dKt0zSVt_hD2rLnM74E5v3SGrdUHcA72taR__CsXcZRrltHPVNdkOVxGvdsYU uLxTjXlT4cafLhwCI8MLXdDOjiwesxwCo0N1NcW1m16qev4wn9CH2UBsSYzndXUmRYB2mbgLqIxN rcrP3YVjo39KtGmdjH5SYjwDMfDRW_n5oBOc3aMUkImhcNQ0VInXxsBBCpq87Qsjc8PhyE7lSxgn TP6IW9tKL_mRS6vbyF40JW6HuQnExXU9E0sz6UUaDGekMOKQijtTcq6Pc3sGwc8aPXppijMxZNw4 oOJaGywsl970aj8Wyorha68unHhANVa5ygv7wzN8yjrXc3SnkMJF6KQ10lotKIRB5KGcvc66B.wp tHc5BkCpItZSMaci_pqQZx0yUoIuvIYhvTP59ZNql33ZoZrm21OBOsLLcAq6kXohtC0.BrILsJwb ML6GxckMq.geh6aUgCSqlFV6tBL4jU87T_l5w1F1e2OATbIF_h8TQjDQQ11jZxSc5gRAzcOM8WM0 MNqKYD6Lh5hCwaRolbVZShvaPEGndiY99VK33Y4mwmgJFJ2PzU4FGOXAFC82BGXmmzZivRnwjCBW mMM8rA0eR Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Tue, 22 May 2018 00:47:03 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp401.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c563ca6dca150942fb15e8ccc1449bb7; Tue, 22 May 2018 00:46:59 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: head -r333974 fix-to-the-build exposes another breaks-the-build problem in top (at least for gcc based builds) Message-Id: Date: Mon, 21 May 2018 17:46:57 -0700 To: Eitan Adler , FreeBSD Current X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 00:47:05 -0000 FreeBSD-head-amd64-gcc (based on a more modern gcc) reports a more explicit error for -r333974 and later: --- all_subdir_usr.bin --- /workspace/src/usr.bin/top/commands.c:132:1: error: function declaration = isn't a prototype [-Werror=3Dstrict-prototypes] scanint(str, intp) ^~~~~~~ The older gcc 4.2.1 builds report: --- all_subdir_usr.bin/top --- cc1: warnings being treated as errors /usr/src/usr.bin/top/commands.c:134: warning: function declaration isn't = a prototype *** [commands.o] Error code 1 make[4]: stopped in /usr/src/usr.bin/top 1 error =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)