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 16:26:17 +0100 Message-ID: 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> <861sbblwws.fsf@gmail.com> <83a7pzsexs.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533569081 6752 195.159.176.226 (6 Aug 2018 15:24:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 15:24:41 +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 17:24:37 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 1fmhN6-0001go-TH for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 17:24:37 +0200 Original-Received: from localhost ([::1]:34659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhPD-0000CK-6t for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 11:26:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhOy-0000Ad-8k for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:26:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmhOv-0005wu-32 for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:26:32 -0400 Original-Received: from [195.159.176.226] (port=48557 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fmhOu-0005wT-RX for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:26:29 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fmhMm-0001LV-Am for emacs-devel@gnu.org; Mon, 06 Aug 2018 17:24:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:y6sThEGmSfsRLGbeCWpW1HFog50= 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:228221 Archived-At: On Mon 06 Aug 2018, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Mon, 06 Aug 2018 09:30:27 +0100 >> >> 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 ? > > Because different versions of GCC support different warning options, > and using an option that is not supported by the installed version of > GCC will cause warnings and sometimes errors. That is not what is being discussed. The configure script run 146 checks to determine if gcc warning options are supported, but the emacs configure script mentions a far smaller number. Why are dozens of configure checks being run for things that emacs configure does not care about, and whose only effect is to slow down the build ? AndyM