Messages in this thread | | | Date | Tue, 4 Aug 1998 17:25:48 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: 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
| |