lkml.org 
[lkml]   [1998]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.1.114 fails build on i386


On Tue, 4 Aug 1998, Michael Riepe wrote:
>
> Empty structs (or initializers) aren't legal (ANSI) C, nor are they
> mentioned as a "C extension" anywhere in the GCC documentation. The
> only thing GCC explicitly allows is an empty _array_ at the end of a
> struct.

Whatever we feed the compiler, it is never acceptable to dump core. So gcc
has a bug. Then I certainly agree that you can debate whether it should
allow them or not. Historically gcc _has_ allowed them (it's just that
inside other structures they can't be initialized..)

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.376 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site