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: File extensions for C++ source?


On Fri, Nov 28, 2003 at 10:43:55PM -0500, Nathanael Nerode wrote:
> 
> If we do standardize, we should *talk* about it first.

Exactly.


> .C: confusion with .c on case-insensitive systems
> .cc: possible confusion with 'cc' program.
> .cpp: confusion with 'cpp' program and files intended for it
> .c++: many systems dislike '+' in file names
> .cxx: I know of no problems with this.  If we changed en masse to 
> anything, this and '.cc' are the only ones I'd even consider.

And .cc is less typing than .cxx.  :-)

-- 
"What attribute do you consider most valuable to the politician?"
"To be able to raise a cause which shall produce an effect, and
then *fight the effect*."
    - Captain T.W.S. Kidd and Senatorial candidate Abraham Lincoln


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