On Sat, 6 Sep 2003 01:42:59 -0700 John-Mark Gurney <[EMAIL PROTECTED]> wrote:
> Alexander Leidinger wrote this message on Sat, Sep 06, 2003 at 10:33 +0200: > > struct { > ^ try moving foo to here. > > int tag; > > char obj[]; > > } foo; > ^^^ from here. > Uhm... yes, sorry. ---snip--- % <marcel.c #include <stdio.h> struct foo { int tag; char obj[]; }; int main(void) { struct foo bar; printf("%d\n", sizeof(struct foo)); printf("%d\n", sizeof(bar)); return 0; } % ./a.out 4 4 ---snip--- Bye, Alexander. -- Yes, I've heard of "decaf." What's your point? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"