Date: Thu, 16 May 1996 18:07:55 +0200 (IST) From: Eli Zaretskii To: "A.Appleyard" Cc: DJGPP AT delorie DOT com Subject: Re: Unused functions In-Reply-To: <32D086403B@fs2.mt.umist.ac.uk> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.