Re: [PATCH 0/5] Remove a few hurdles of compiling with clang

Simon Marchi
2017-06-12T17:00:25Z

On 2017-06-12 18:55, Andrew Pinski wrote:
> On Mon, Jun 12, 2017 at 9:44 AM, Simon Marchi <simon.marchi@polymtl.ca>
> 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