Ethereal-dev: Re: [Ethereal-dev] new ICE dissector (second try)

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

From: Thomas Boehne <TBoehne@xxxxxxxx>
Date: Wed, 6 Oct 2004 15:05:46 +0200
On Wednesday 06 October 2004 11:09, Guy Harris wrote:
> francesco fondelli wrote:
> > Anyway I'm using it and it works fine for me. I hope it could be useful
> > for someone else.
>
> I checked it in, with some cleanups (such as getting rid of GCCisms such
> as declarations in the middle of a block).

packet-icep.c uses variadic macros, which are (unfortunately) not
supported in MSVC6. 

I ran into the same problem with my own dissector, and did not come up
with a nice solution so far. I am currently using macros such as
DEBUG0, DEBUG1, DEBUG2, ... depending on the number of arguments. Does
anybody have a better solution?

Maybe a "don't use variadic macros" sould be included in
README.developer.

Sincerely yours, 
Thomas Böhne

-- 
Jäger Computergesteuerte Messtechnik GmbH
Thomas Böhne
Rheinstraße 2-4
64653 Lorsch
Germany
Phone: +49-6251-9632-0