From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33018 invoked by alias); 12 Jun 2017 17:00:25 -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 32688 invoked by uid 89); 12 Jun 2017 17:00:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy= X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Jun 2017 17:00:02 +0000 Received: by simark.ca (Postfix, from userid 33) id 90BF51E5A3; Mon, 12 Jun 2017 13:00:05 -0400 (EDT) To: Andrew Pinski Subject: Re: [PATCH 0/5] Remove a few hurdles of compiling with clang X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 12 Jun 2017 17:00:00 -0000 From: Simon Marchi Cc: Eli Zaretskii , Yao Qi , Simon Marchi , gdb-patches@sourceware.org In-Reply-To: References: <1497124689-11842-1-git-send-email-simon.marchi@ericsson.com> <83tw3n5jyk.fsf@gnu.org> <86tw3labb0.fsf@gmail.com> <83a85d5l4n.fsf@gnu.org> <93eb64489ac9d53665a144ddf5a966d5@polymtl.ca> <5a3de5613db0492e91585ab8497bb3d3@polymtl.ca> Message-ID: <77ebaa714078571126171228b53009a9@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.5 X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00338.txt.bz2 On 2017-06-12 18:55, Andrew Pinski wrote: > On Mon, Jun 12, 2017 at 9:44 AM, Simon Marchi > wrote: >> Sorry for being unclear. I do use clang++ and it complains: >> >> $ clang++ test.c >> clang: warning: treating 'c' input as 'c++' when in C++ mode, this >> behavior >> is deprecated >> >> So using -x c++ is the only way I found to make it work (short of >> renaming >> the files). > > Why is it deprecated? I don't see a reason for that. I don't know. Simon