This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Rename C files to .c in GCC source
- From: Eli Zaretskii <eliz at gnu dot org>
- To: DJ Delorie <dj at redhat dot com>
- Cc: pinskia at gmail dot com, gcc at gcc dot gnu dot org, jg at jguk dot org
- Date: Sun, 01 Feb 2015 18:08:33 +0200
- Subject: Re: Rename C files to .c in GCC source
- Authentication-results: sourceware.org; auth=none
- References: <CAGc9EveH8c7WfQPmDEjrCpSOmxabAECGRBC8T8NUiHbSz2QNmw at mail dot gmail dot com> <EE340ECC-F8A5-49B5-9C83-CD616BC1DDAF at gmail dot com> <xnlhkkx80o dot fsf at greed dot delorie dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: DJ Delorie <dj@redhat.com>
> Cc: gcc@gcc.gnu.org, Jonny Grant <jg@jguk.org>
> Date: Fri, 30 Jan 2015 16:39:51 -0500
>
> However, we should avoid relying on case-sensitive file systems
> (Windows) and use .cc or .cxx for C++ files ("+" is not a valid file
> name character on Windows, so we can't use .c++).
Actually, Windows filesystems do allow '+' in file names. (DOS
filesystems don't.)
But I agree that using it is not the best alternative, as the Windows
shell sometimes interprets '+' as a delimiter, so file names using
that character need to be quoted for safety.