GNU bug report logs - #18508
Incomplete type pollfd

Previous Next

Package: guile;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Fri, 19 Sep 2014 10:32:01 UTC

Severity: normal

Merged with 18507

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Enge <andreas <at> enge.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 18508 <at> debbugs.gnu.org
Subject: bug#18508: Incomplete type pollfd
Date: Fri, 26 Sep 2014 16:40:00 +0200
[Message part 1 (text/plain, inline)]
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 <poll.h>, but maybe
> that mechanism somehow fails with old GCC versions.

I just retried the compilation, and poll.h is attached. It contains
#if 1
# include_next <poll.h>
#endif

There is a /usr/include/poll.h, which contains the one line
#include <sys/poll.h>
This in turn does an
#include <bits/poll.h>
which has a line
#define POLLIN          0x001           /* There is data to read.  */

I tried to replace the # include_next in lib/poll.h by a simple #include,
but that leads to
../lib/poll.h:31:18: error: #include nested too deeply

Andreas

[poll.h (text/plain, attachment)]

This bug report was last modified 9 years and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.