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: Jonny Grant <jg at jguk dot org>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: "Kevin Ingwersen (Ingwie Phoenix)" <ingwie2000 at googlemail dot com>, Eli Zaretskii <eliz at gnu dot org>, DJ Delorie <dj at redhat dot com>, Andrew Pinski <pinskia at gmail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 16 Feb 2015 17:45:08 +0000
- 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> <CAH6eHdTkWCa4vK=HVVaJaa1dihs4gdjX+u87Q_GO358752Tjkw at mail dot gmail dot com> <83bnldipfo dot fsf at gnu dot org> <2566D022-F1C4-48CE-BA29-92F120D1F758 at googlemail dot com> <54CFE7FC dot 5070102 at jguk dot org> <CAH6eHdQP8i1L5sEsGzy4fO1tpK0CJht_Tt2rkfJrVYQw4mUgDg at mail dot gmail dot com>
On 2 February 2015 at 23:56, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 2 February 2015 at 21:11, Jonny Grant wrote:
>> Is this a consensus agreement to rename those .C -> .cc ?
>
> No.
While I remember:
Stroustrup lists C++ extensions as .cxx and .cpp
http://www.stroustrup.com/glossary.html
ISO sample sources use .cpp:
http://standards.iso.org/ittf/PubliclyAvailableStandards/c043351_ISO_IEC_TR_18015_2006(E).zip
.C in GCC sources was the only place I've ever seen it.
Regards, Jonny