mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: Julia Lawall <julia@diku.dk>,
	jdike@addtoit.com, user-mode-linux-user@lists.sourceforge.net,
	user-mode-linux-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 5/5] arch/um: remove duplicate structure field initialization
Date: Mon, 21 Sep 2009 18:26:44 +0200	[thread overview]
Message-ID: <CCABB2CC-E9F7-4153-8B60-85619DE71A13@kernel.crashing.org> (raw)
In-Reply-To: <20090921160532.GC3868@hack>

> "
> 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.

Thanks,


Segher


  reply	other threads:[~2009-09-21 16:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-19 19:49 Julia Lawall
2009-09-21 16:05 ` Américo Wang
2009-09-21 16:26   ` Segher Boessenkool [this message]
2009-09-22 14:05     ` Américo Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CCABB2CC-E9F7-4153-8B60-85619DE71A13@kernel.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=jdike@addtoit.com \
    --cc=julia@diku.dk \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@lists.sourceforge.net \
    --cc=xiyou.wangcong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®