From: Ralf Baechle <ralf@linux-mips.org>
To: Carsten Langgaard <carstenl@mips.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Compiler problems with zero-length array in the middle of a struct
Date: Thu, 5 Dec 2002 14:10:18 +0100 [thread overview]
Message-ID: <20021205141018.A6106@linux-mips.org> (raw)
In-Reply-To: <3DEF2EBE.F273B44A@mips.com>; from carstenl@mips.com on Thu, Dec 05, 2002 at 11:47:26AM +0100
On Thu, Dec 05, 2002 at 11:47:26AM +0100, Carsten Langgaard wrote:
> Some compiler reject a zero-length array in the middle of a structure,
> and report it as an error.
> So could we please redo the change, that has recently been done to
> include/linux/raid/md_p.h (see patch below).
Hmm... What compiler version is that? The gcc documentation explicitly
permits empty arrays.
Ralf
next prev parent reply other threads:[~2002-12-05 13:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-05 10:47 Compiler problems with zero-length array in the middle of a struct Carsten Langgaard
2002-12-05 13:10 ` Ralf Baechle [this message]
2002-12-05 13:35 ` Carsten Langgaard
2002-12-05 17:29 ` Alan Cox
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=20021205141018.A6106@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=carstenl@mips.com \
--cc=linux-mips@linux-mips.org \
/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