Pauline Middelink <middelink@polyware.nl> said:
> On Mon, 31 Jan 31 2000 around 08:11:11 +0100, almesber@lrc.di.epfl.ch wrote:
[...]
> > $ cat z.c
> > #include <stdio.h>
> >
> >
> > struct foo {
> > int a,b;
> > } bar = {
> > .a = 5,
> > .b = 7,
> > };
>
> This doesn't say much. A better test would be to init the members
> in the reverse order. It could be the compiler simple skipped the
> labels :) And the extra , after the b member seems suspicious...
That's OK. At the end of an enum or struct you can place an extra ',' sez C
(for benefit of stupid programs generating them).
-- Horst von Brand vonbrand@sleipnir.valparaiso.cl Casilla 9G, Viņa del Mar, Chile +56 32 672616- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:29 EST