Rename C files to .c in GCC source
Kevin Ingwersen (Ingwie Phoenix)
ingwie2000@googlemail.com
Fri Jan 30 22:15:00 GMT 2015
> Am 30.01.2015 um 21:30 schrieb Jonny Grant <jg@jguk.org>:
>
>
>
> On 30/01/15 17:09, pinskia@gmail.com wrote:
>>
>>
>>
>>
>>> On Jan 30, 2015, at 4:22 AM, Jonny Grant <jg@jguk.org> wrote:
>>>
>>> Hello
>>>
>>> When I checked out from the trunk I saw that various files had .C
>>> capital extension. Its not a big issue.. but I wondered if they should
>>> be .c like regular source files?
>>
>> No because they are c++ code so capital C is correct.
>
> Ok, I see. Only ever encountered files called .cpp.
>
> Regards, Jonny
„Valid“ extensions happen to be .cpp, .cxx, .c++, .cc or .C. Although, .C can, in rare occasions, also speak about a pre-processed .c file. But finding this case is like searching a needle in a haystack. :)
More information about the Gcc
mailing list