http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30006
Marty <vadmium+gc at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vadmium+gc at gmail dot com --- Comment #3 from Marty <vadmium+gc at gmail dot com> 2012-04-18 12:22:48 UTC --- Possibly related: Bug 36446, Bug 47772 Here’s an example where the warning is completely false. There are no missing initialisers because I’ve listed them both. struct { struct { int first; int second; } inner; } outer = { .inner.first = 1, /* Warning -> */ .inner.second = 2, }; With the -Wextra flag, GCC 4.7.0 produced: bug.c:8:22: warning: missing initializer [-Wmissing-field-initializers] bug.c:8:22: warning: (near initialization for ‘outer.inner.second’) [-Wmissing-field-initializers]