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:34:36 -0800 (PST) Organization: Sony Electronics Inc. Message-ID: <20020220.233436.34004356.Takaaki.Ota@am.sony.com> References: <200202202213.g1KMDng13569@aztec.santafe.edu> 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 1014277034 26589 195.204.10.66 (21 Feb 2002 07:37:14 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 21 Feb 2002 07:37:14 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 16dnmz-0006ul-00 for ; Thu, 21 Feb 2002 08:37:13 +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 16dnm0-0000IK-00; Thu, 21 Feb 2002 02:36:12 -0500 Original-Received: from mail6.fw-bc.sony.com ([160.33.98.73]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16dnkZ-0000CQ-00; Thu, 21 Feb 2002 02:34:43 -0500 Original-Received: from mail1.bc.in.sel.sony.com (mail1.bc.in.sel.sony.com [43.144.65.11]) by mail6.fw-bc.sony.com (8.8.8/8.8.8) with ESMTP id HAA22978; Thu, 21 Feb 2002 07:26:27 GMT Original-Received: by mail1.bc.in.sel.sony.com id HAA13940; Thu, 21 Feb 2002 07:34:39 GMT Original-To: eliz@is.elta.co.il In-Reply-To: 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:1380 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1380 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. -Tak COMPILE.cpp = $(COMPILE.cc) COMPILE.C = $(COMPILE.cc) COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c %.o: %.cc # commands to execute (built-in): $(COMPILE.cc) $(OUTPUT_OPTION) $< %.o: %.C # commands to execute (built-in): $(COMPILE.C) $(OUTPUT_OPTION) $< %.o: %.cpp # commands to execute (built-in): $(COMPILE.cpp) $(OUTPUT_OPTION) $< .cc.o: $(COMPILE.cc) $(OUTPUT_OPTION) $< .C.o: $(COMPILE.C) $(OUTPUT_OPTION) $< .cpp.o: $(COMPILE.cpp) $(OUTPUT_OPTION) $< _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel