lkml.org 
[lkml]   [2009]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 5/5] arch/um: remove duplicate structure field initialization
    From
    On Tue, Sep 22, 2009 at 12:26 AM, Segher Boessenkool
    <segher@kernel.crashing.org> 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 linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-09-22 16:07    [W:0.025 / U:58.872 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site