you are quoting c99…
and we are still using "c90" mode, as far as I remember
I couldn't find any c90 available online for free but anyway that's long-standing practice that all compilers I know follow. gcc's own manual says:
-Wmissing-field-initializers
Warn if a structure's initializer has some fields missing. For example, the following code would cause such a warning, because x.h is implicitly zero:
struct s { int f, g, h; };
struct s x = { 3, 4 };
--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com