From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46183 invoked by alias); 29 Jul 2018 18:43:04 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 46167 invoked by uid 89); 29 Jul 2018 18:43:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=inconvenient X-HELO: gateway32.websitewelcome.com Received: from gateway32.websitewelcome.com (HELO gateway32.websitewelcome.com) (192.185.145.184) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 29 Jul 2018 18:43:01 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 661483C66 for ; Sun, 29 Jul 2018 13:43:00 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id jqeifwFcCkBj6jqeifFoop; Sun, 29 Jul 2018 13:43:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ar41YJ21tLI8JpyaBYnnWfBe2oyggFQ2tNoE4iRmx+Y=; b=rI1m3H3KhTu7u6LAvbLzgDoYho qc65mOtWeA8hA/UaqFNhb0bYxNADG/nPc7tkRdd5IZp7pUp9VX5drNjYo5SxkBEJXNM6hN5z37rp1 mSunX5OayIO3KWcskkKnoxBEZ; Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:58484 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fjqei-003VJv-3I; Sun, 29 Jul 2018 13:43:00 -0500 From: Tom Tromey To: Eli Zaretskii Cc: brobecker@adacore.com, gdb-patches@sourceware.org Subject: Re: GDB 8.1.90 available for testing References: <20180704162202.C240286B57@joel.gnat.com> <83y3e834jw.fsf@gnu.org> <837eleu5q7.fsf@gnu.org> Date: Sun, 29 Jul 2018 18:43:00 -0000 In-Reply-To: <837eleu5q7.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 29 Jul 2018 05:37:52 +0300") Message-ID: <87tvohopcc.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-07/txt/msg00755.txt.bz2 >>>>> "Eli" == Eli Zaretskii writes: >> CXX symfile.o >> symfile.c: In function 'void set_objfile_default_section_offset(objfile*, const section_addr_info&, CORE_ADDR)': >> symfile.c:2114:14: warning: types may not be defined in a for-range-declaration >> for (const struct other_sections *objf_sect : objf_addrs_sorted) >> ^~~~~~ >> >> The first two I saw in GDB 8.1 and reported back in January. I >> believe the conclusion was that we disregard these warnings? >> >> But what about the 3rd one? I think this is a gcc bug. This looks related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79566 Simon occasionally fixes these by removing the 'struct' keyword. This seems fine since it isn't really inconvenient and people may be using the buggy versions of gcc. This particular spot was fixed on git master in revision ff27d0737ef0. I think it would be fine to cherry-pick that to the branch. Tom