Re: [tcpdump-workers] Creeping GCC'sims in tcpdump

2004-04-12 Thread Gianluca Varenni
- Original Message - From: "Darren Reed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "Guy Harris" <[EMAIL PROTECTED]> Sent: Monday, April 12, 2004 5:14 PM Subject: Re: [tcpdump-workers] Creeping GCC'sims in tcpdump

Re: [tcpdump-workers] Creeping GCC'sims in tcpdump

2004-04-12 Thread Darren Reed
In some email I received from Brian Ginsbach, sie wrote: > The following in netdissect.h seems like a bad thing to do. > > #define ND_PRINT(fmt, args...) (*ndo->ndo_printf)(ndo, fmt, ##args) > > Not all compilers/preprocessors support variable argument macros > like GCC. Compiling tcpdump shou

[tcpdump-workers] Creeping GCC'sims in tcpdump

2004-04-12 Thread Brian Ginsbach
The following in netdissect.h seems like a bad thing to do. #define ND_PRINT(fmt, args...) (*ndo->ndo_printf)(ndo, fmt, ##args) Not all compilers/preprocessors support variable argument macros like GCC. Compiling tcpdump shouldn't require GCC or a C99 compiler. This macro is only used once in