From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: Re: etags for C++ Date: Wed, 20 Feb 2002 23:45:46 -0800 (PST) Organization: Sony Electronics Inc. Message-ID: <20020220.234546.109272533.Takaaki.Ota@am.sony.com> References: <200202202213.g1KMDng13569@aztec.santafe.edu> <20020220.233436.34004356.Takaaki.Ota@am.sony.com> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: quimby2.netfonds.no 1014277775 27029 195.204.10.66 (21 Feb 2002 07:49:35 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 21 Feb 2002 07:49:35 GMT Cc: rms@gnu.org, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16dnyx-00071q-00 for ; Thu, 21 Feb 2002 08:49:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16dnxp-0000us-00; Thu, 21 Feb 2002 02:48:25 -0500 Original-Received: from mail6.fw-sj.sony.com ([160.33.82.73]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16dnvO-0000nW-00; Thu, 21 Feb 2002 02:45:54 -0500 Original-Received: from mail1.bc.in.sel.sony.com (mail1.bc.in.sel.sony.com [43.144.65.11]) by mail6.fw-sj.sony.com (8.8.8/8.8.8) with ESMTP id HAA23723; Thu, 21 Feb 2002 07:39:56 GMT Original-Received: by mail1.bc.in.sel.sony.com id HAA15116; Thu, 21 Feb 2002 07:45:48 GMT Original-To: eliz@is.elta.co.il In-Reply-To: <20020220.233436.34004356.Takaaki.Ota@am.sony.com> X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 X-Mailer: Mew version 3.0.54 on Emacs 21.2.50.1 / Mule 5.0 (SAKAKI) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1381 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1381 Wed, 20 Feb 2002 23:34:36 -0800 (PST): Tak Ota wrote: > Thu, 21 Feb 2002 08:47:11 +0200 (IST): Eli Zaretskii wrote: > > > > > On Wed, 20 Feb 2002, Richard Stallman wrote: > > > > > find . -name "*.[chCH]" -print | etags - > > > > > > I suppose use of C++ is very common these days. > > > > > > .C and .H were used for C++ files. Has that convention changed? > > > > No, it didn't change. > > > > However, it's possible that capital .C and .H are not used on > > case-insensitive filesystems such as on Windows. > > GNU make 3.79.1 knows .C, .cc and .cpp as the C++ files. And it seems > to treat .cc as the canonical one and consolidate .C and .cpp into > .cc. Also the following is an excerpt from the info page of gcc version 2.96. -Tak For any given input file, the file name suffix determines what kind of compilation is done: .... `FILE.cc' `FILE.cxx' `FILE.cpp' `FILE.C' C++ source code which must be preprocessed. Note that in `.cxx', the last two letters must both be literally `x'. Likewise, `.C' refers to a literal capital C. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel