On Jan 24, 2004, at 6:56 AM, Joerg Mayer wrote:


Can someone please have a look whether I got the function casting right
this time?

Too bad the folks at AT&T didn't come up with


http://gcc.gnu.org/onlinedocs/gcc-3.3.2/gcc/Designated- Inits.html#Designated%20Inits

so we had to wait for C99 to get it. (Well, it's in GCC even with C89, but not all C compilers support that extension.) With that extension, the "arg" member of a "struct s_options" could've been a union without making it impossible to initialize properly.

_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Reply via email to