From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111849 invoked by alias); 27 Feb 2015 14:20:50 -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 111801 invoked by uid 89); 27 Feb 2015 14:20:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f173.google.com Received: from mail-pd0-f173.google.com (HELO mail-pd0-f173.google.com) (209.85.192.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 27 Feb 2015 14:20:49 +0000 Received: by pdbnh10 with SMTP id nh10so21300591pdb.11 for ; Fri, 27 Feb 2015 06:20:47 -0800 (PST) X-Received: by 10.66.66.133 with SMTP id f5mr24337194pat.20.1425046847403; Fri, 27 Feb 2015 06:20:47 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id dx6sm4225642pab.14.2015.02.27.06.20.45 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 27 Feb 2015 06:20:46 -0800 (PST) From: Yao Qi To: Pedro Alves Cc: Yao Qi , gdb-patches@sourceware.org Subject: Re: [PATCH 02/36] Add --enable-build-with-cxx configure switch References: <1423524046-20605-1-git-send-email-palves@redhat.com> <1423524046-20605-3-git-send-email-palves@redhat.com> <54DA821E.4070608@gmail.com> <54F06FF9.8010303@redhat.com> Date: Fri, 27 Feb 2015 14:20:00 -0000 In-Reply-To: <54F06FF9.8010303@redhat.com> (Pedro Alves's message of "Fri, 27 Feb 2015 13:24:09 +0000") Message-ID: <86385rh1vq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00821.txt.bz2 Pedro Alves writes: > The -Werror idea here was just so that we could put C or C++-specific > warnings in build_warnings and have them automatically filtered out. > > I ended up explicitly splitting C vs C++ specific warnings now, > so this -Werror is gone. > > I also moved "-fpermissive" to $COMPILER instead, as really that's > a C++ mode, not a warning flag. We want to use it even if gdb is > configured with --enable-build-warning=3Dno. > > Here's the new version. Let me know what you think. That is fine by me. --=20 Yao (=E9=BD=90=E5=B0=A7)