[Bug c/33933] "error: array type has incomplete element type" in system header

2007-10-28 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2007-10-28 22:47 --- Subject: Re: "error: array type has incomplete element type" in system header > > In particular, the following DR was referenced as proof the above is > > "not valid C": > > http://www.open-std.org/jtc1/sc

[Bug c/33933] "error: array type has incomplete element type" in system header

2007-10-28 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2007-10-28 21:13 --- Subject: Re: New: "error: array type has incomplete element type" in system header On Sun, 28 Oct 2007, danglin at gcc dot gnu dot org wrote: > This was discussed in this thread: > http://gcc.gnu.org/ml/gcc/2005

[Bug c/33933] "error: array type has incomplete element type" in system header

2007-10-28 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2007-10-28 20:37 --- This avoids the problem: #include #include #include int main () { return 0; } The header "sys/sar.h" declares struct syswait. Thus, there is a work around for the autoconf macro that uses this test. However,