unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tak Ota <Takaaki.Ota@am.sony.com>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: etags for C++
Date: Wed, 20 Feb 2002 23:34:36 -0800 (PST)	[thread overview]
Message-ID: <20020220.233436.34004356.Takaaki.Ota@am.sony.com> (raw)
In-Reply-To: <Pine.SUN.3.91.1020221084615.2258C-100000@is>

Thu, 21 Feb 2002 08:47:11 +0200 (IST): Eli Zaretskii <eliz@is.elta.co.il> 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


  reply	other threads:[~2002-02-21  7:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-19 19:41 etags for C++ Tak Ota
2002-02-20 22:13 ` Richard Stallman
2002-02-21  6:47   ` Eli Zaretskii
2002-02-21  7:34     ` Tak Ota [this message]
2002-02-21  7:45       ` Tak Ota
2002-02-21 10:59         ` Eli Zaretskii
2002-02-21 16:19           ` Tak Ota
2002-02-22 14:32             ` Francesco Potorti`
2002-02-22 14:53               ` Tak Ota
2002-02-22 15:31                 ` Andreas Schwab
2002-02-23 20:19                 ` Richard Stallman
2002-02-24  5:42                   ` Tak Ota
2002-02-25  0:08                     ` Richard Stallman
2002-02-25  6:40                       ` Eli Zaretskii
2002-02-25  8:27                         ` Francesco Potorti`
2002-02-25 16:30                           ` Tak Ota
2002-02-26 20:15                         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020220.233436.34004356.Takaaki.Ota@am.sony.com \
    --to=takaaki.ota@am.sony.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).