Ethereal-dev: Re: [Ethereal-dev] "By design", or memory leak ?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 10 Jun 2003 13:44:47 -0700
On Tue, Jun 10, 2003 at 11:38:51AM +0200, B.Loïc wrote:
> Isn't it possible to pass relevant arguments to GCC when compiling ?
> For example, pass -DREVISIT when compiling ethereal, so the dissector can
> include ethereal-specific code between #ifdef REVISIT / #endif ? And/or do
> the same for tethereal with -DNOREVISIT ?

Not all dissectors are compiled into Ethereal/Tethereal.  That scheme
would require two separate collections of plugins, one built with that
option and one built without, and one loaded by Tethereal and one loaded
by Ethereal.

I consider that another reason to go with the run-time scheme instead.