This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: File extensions for C++ source?
- From: Phil Edwards <phil at codesourcery dot com>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: aspiesrule at mcleodusa dot net, gcc at gcc dot gnu dot org
- Date: Fri, 28 Nov 2003 23:01:19 -0500
- Subject: Re: File extensions for C++ source?
- References: <3FC815FB.7060508@twcny.rr.com>
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