www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/16/11:26:28

Date: Thu, 16 May 1996 18:07:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Cc: DJGPP AT delorie DOT com
Subject: Re: Unused functions
In-Reply-To: <32D086403B@fs2.mt.umist.ac.uk>
Message-Id: <Pine.SUN.3.91.960516180123.5771N-100000@is>
Mime-Version: 1.0

On Thu, 16 May 1996, A.Appleyard wrote:

>   Not so easy with user-declared operators, which I use a lot of.

Why not?  You just have to write down the regexp that defines the syntax 
of those operators.

Another tool to consider is the `etags' program (from the Emacs
distribution).  It should already know about the C++ syntax.  It outputs 
a file with the names of all the functions defined by your program.

> > GCC has a switch that causes it to output a list of all the functions
> > declared by a source file. (Finding that switch in the GCC docs is left as
> > an exercise to the interested readers ;-).
> 
>   But please what is that switch?

-aux-info.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019