Messages in this thread | | | Date | Mon, 31 Jan 2000 08:57:42 +0100 | From | Pauline Middelink <> | Subject | Re: [PATCH] 2.3.41 - cleanup file_operations structs |
| |
On Mon, 31 Jan 31 2000 around 08:11:11 +0100, almesber@lrc.di.epfl.ch wrote: > James Manning wrote: > > As it stands, gcc 2.7.2.3 is still our baseline compiler so I'd rather > > keep things compatible with that my design, not by #ifdef. > > $ 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...
(Not that egcs-1.1.2 complains at all..)
Met vriendelijke groet, Pauline Middelink -- PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0 58 A3 06 9D B6 34 39 E2 For more details look at my website http://www.polyware.nl/~middelink
- 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/
| |