Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/external/gpl3/gcc/dist/libiberty
In article <20180715143153.GB28265%britannica.bec.de@localhost>,
Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
>On Sat, Jul 14, 2018 at 07:41:43PM -0400, Christos Zoulas wrote:
>> Module Name: src
>> Committed By: christos
>> Date: Sat Jul 14 23:41:43 UTC 2018
>>
>> Modified Files:
>> src/external/gpl3/gcc/dist/libiberty: alloca.c
>>
>> Log Message:
>> clang does not like auto in c++
>
>This is not about Clang at all. auto has a quite different meaning with
>C++11 and that's even the default for newer GCC...
Yes, I totally understand that, but this is about "compiling c
files with c++" and the mode that clang chooses is different that
gcc's {how it interprets things, and what it warns and errors about)
is different. Removing the auto from the c file is harmless and makes
it compile under c++ with clang.
christos
Home |
Main Index |
Thread Index |
Old Index