Messages in this thread | | | Date | Sat, 11 Dec 1999 14:15:20 +0100 | From | Remi Turk <> | Subject | Re: Binary drivers |
| |
Andi Kleen wrote: > C99 has a similar extension, unfortunately incompatible ( .field = instead of > field: ). I guess adopting the gcc syntax that was in the field for years > would have been too easy.
From the gcc-info pages (C Extensions/Labeled Elements):
Another syntax which has the same meaning is `.FIELDNAME ='., as shown here:
struct point p = { .y = yvalue, .x = xvalue };
(I'm using egcs-2.91.66)
-- I don't like Unix. I once administered such a box but was fired just because it crashed. -- NT administrator
- 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/
| |