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: C++ conversion? Why still .c (not .cc) files and CC (not CXX) in Makefile.in?


On Tue, Aug 28, 2012 at 8:45 AM, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> On Tue, 28 Aug 2012, Ian Lance Taylor wrote:
>
>> > Or do we have a rule than any file using C++ specific feature should
>> > be renamed from *.c to *.cc at the moment the C++ feature goes inside?
>>
>> We do not have such a rule and I would not recommend it.  I think we
>> should rename all the files at once at some point.
>
> That has implications on things like
>   svn blame file.cc@somerevision
> in case somerevision was before that rename.  So I'm not sure we should
> rename the files.  I see disadvantages but no real advantages.

*New* files should probably get the canonical extensions (e.g. .cc),
but I don't see much
being accomplished by mass renaming existing.  I would rather see
their *contents*
improved first.

-- Gaby


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