bug#18508: Incomplete type pollfd

2014-09-27 Thread Andreas Enge
On Sat, Sep 27, 2014 at 11:41:09AM +0200, Ludovic Courtès wrote: > Does something like this build correctly with ‘gcc -Wall -c’: > > --8<---cut here---start->8--- > #include > > int > foo (struct pollfd *x) > { > return x->events; > } > --8<---cu

bug#18508: Incomplete type pollfd

2014-09-27 Thread Ludovic Courtès
Andreas Enge skribis: > On Mon, Sep 22, 2014 at 10:43:27AM +0200, Ludovic Courtès wrote: >> What libc version is this? > > The package is glibc-2.12-1.107.el6_4.5.x86_64. Oh, OK. >> It would have been great, if this is still possible, to post lib/poll.h. >> Normally that file uses #include_next

bug#18508: Incomplete type pollfd

2014-09-26 Thread Andreas Enge
On Mon, Sep 22, 2014 at 10:43:27AM +0200, Ludovic Courtès wrote: > What libc version is this? The package is glibc-2.12-1.107.el6_4.5.x86_64. > It would have been great, if this is still possible, to post lib/poll.h. > Normally that file uses #include_next to get libc’s , but maybe > that mechani

bug#18508: Incomplete type pollfd

2014-09-22 Thread Ludovic Courtès
Andreas Enge skribis: > guile-2.0.11 fails to build on Redhat 6.5 with the following error message: > > CC libguile_2.0_la-fports.lo > fports.c: In function 'fport_input_waiting': > fports.c:612: error: variable 'pollfd' has initializer but incomplete type > fports.c:612: warning: excess

bug#18508: Incomplete type pollfd

2014-09-19 Thread Andreas Enge
Hello, guile-2.0.11 fails to build on Redhat 6.5 with the following error message: CC libguile_2.0_la-fports.lo fports.c: In function 'fport_input_waiting': fports.c:612: error: variable 'pollfd' has initializer but incomplete type fports.c:612: warning: excess elements in struct initiali