Hacker News new | ask | show | jobs
by dllthomas 4599 days ago
The last is not an error, it's simply outdated:

http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html

These days, you should spell it:

    struct point foo = { .x = 5, .y = 4 };