3 ms·
The last is not an error, it's simply outdated: http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html
by dllthomas 13y ago
The last is not an error, it's simply outdated:
http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html
These days, you should spell it:
struct point foo = { .x = 5, .y = 4 };