From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: New warnings on emacs-26 branch with gcc 8.2.0 Date: Mon, 06 Aug 2018 18:34:26 +0300 Message-ID: <8336vrse4d.fsf@gnu.org> 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 X-Trace: blaine.gmane.org 1533569560 8537 195.159.176.226 (6 Aug 2018 15:32:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 15:32:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 17:32:36 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 1fmhUo-00026f-3I for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 17:32:34 +0200 Original-Received: from localhost ([::1]:34691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhWu-00044M-Qa for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 11:34:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhWh-00043B-Du for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:34:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmhWg-0001es-LK for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:34:31 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhWg-0001en-I9; Mon, 06 Aug 2018 11:34:30 -0400 Original-Received: from [176.228.60.248] (port=3549 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fmhWf-0000Mu-VX; Mon, 06 Aug 2018 11:34:30 -0400 In-reply-to: (message from Andy Moreton on Mon, 06 Aug 2018 16:26:17 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:228225 Archived-At: > From: Andy Moreton > Date: Mon, 06 Aug 2018 16:26:17 +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. Sorry for my misunderstanding.