On Tue, Sep 22, 2009 at 12:26 AM, Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx> wrote: >> " >> The initialization shall occur in initializer list order, each >> initializer provided for a particular subobject overriding any >> previously listed initializer for the same subobject [...] >> " >> >> I am wondering why gcc doesn't (can't?) complain about this? > > Does -Woverride-init (included in -Wextra / -W) not work? If so, please > file a bug report. Hmm, right, it works, but it seems that Linux kernel doesn't use it. Maybe we should add it? :-/ -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html