This is the mail archive of the
mailing list for the GCC project.
Re: C++ conversion? Why still .c (not .cc) files and CC (not CXX) in Makefile.in?
On Aug 28, 2012, at 9:45 AM, Michael Matz wrote:
> 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.
True, that particular syntax doesn't work, but "svn blame file.cc -r somerevision" does -- because that command identifies the object to operate on in the namespace of the current (head) revision, and then examines the state of that object back in the requested revision.