This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Rename C files to .c in GCC source


> 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. :)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]