| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: Compiler problems with zero-length array in the middle of a struct |
| From: | Carsten Langgaard <carstenl@mips.com> |
| Date: | Thu, 05 Dec 2002 14:35:03 +0100 |
| Cc: | linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <3DEF2EBE.F273B44A@mips.com> <20021205141018.A6106@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
It should be a problem in gcc-3.0, also the SDE compiler has a problem with
that, but it's going to be fixed.
/Carsten
Ralf Baechle wrote:
> 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
--
_ _ ____ ___ Carsten Langgaard Mailto:carstenl@mips.com
|\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527
| \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555
TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556
Denmark http://www.mips.com
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Compiler problems with zero-length array in the middle of a struct, Ralf Baechle |
|---|---|
| Next by Date: | EJTAG and NMI handler broken, Carsten Langgaard |
| Previous by Thread: | Re: Compiler problems with zero-length array in the middle of a struct, Ralf Baechle |
| Next by Thread: | Re: Compiler problems with zero-length array in the middle of a struct, Alan Cox |
| Indexes: | [Date] [Thread] [Top] [All Lists] |