From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: New warnings on emacs-26 branch with gcc 8.2.0 Date: Mon, 06 Aug 2018 09:30:27 +0100 Message-ID: <861sbblwws.fsf@gmail.com> References: <86a7q0ai2z.fsf@gmail.com> <6d36dc4c-1e14-b6c8-e2f0-911d08f759e1@cs.ucla.edu> <8636vsxxjv.fsf@gmail.com> <880f6c74-daae-819d-c503-a52973b3f9d2@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533544155 14490 195.159.176.226 (6 Aug 2018 08:29:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 08:29:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 10:29:11 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmat4-0003eC-JF for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 10:29:10 +0200 Original-Received: from localhost ([::1]:33038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmav9-0004FS-Nz for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 04:31:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmauV-0004FI-GB for emacs-devel@gnu.org; Mon, 06 Aug 2018 04:30:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmauS-0005vH-8w for emacs-devel@gnu.org; Mon, 06 Aug 2018 04:30:39 -0400 Original-Received: from [195.159.176.226] (port=44606 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fmauS-0005uv-18 for emacs-devel@gnu.org; Mon, 06 Aug 2018 04:30:36 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fmasI-0002kq-R6 for emacs-devel@gnu.org; Mon, 06 Aug 2018 10:28:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:IJLkIurnq4QUC98SKzOnelyKFx4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228208 Archived-At: On Sun 05 Aug 2018, Paul Eggert wrote: > Andy Moreton wrote: >> Of the 562 "checking" lines when running configure on master, 146 of >> them are "checking whether C compiler handles -W*". This is excessively >> time consuming. Can gnulib not do less work to acheive this end, or do >> the work more efficiently ? > > Yes, it probably could, but it'd take some hacking to get it to work right. So > far, nobody has volunteered to do that. It'd be nontrivial, as the > configure-time code needs to work with older GCCs and with compilers other > than GCC. Why does it need to check every gcc warning though, rather than just the -W* and -Wno-* warnings that have been requested in the configury ? AndyM