From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#18508: Incomplete type pollfd Date: Sat, 27 Sep 2014 11:41:09 +0200 Message-ID: <87sijdieoa.fsf@gnu.org> References: <20140919101615.GA25878@debian.surfnet.iacbox> <878ulct58w.fsf@gnu.org> <20140926144000.GA4832@debian> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1411810953 23648 80.91.229.3 (27 Sep 2014 09:42:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2014 09:42:33 +0000 (UTC) Cc: 18508@debbugs.gnu.org To: Andreas Enge Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Sep 27 11:42:25 2014 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XXoWF-0001xF-Vk for guile-bugs@m.gmane.org; Sat, 27 Sep 2014 11:42:24 +0200 Original-Received: from localhost ([::1]:55163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXoWF-0006Oy-Fa for guile-bugs@m.gmane.org; Sat, 27 Sep 2014 05:42:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXoW6-0006Oq-30 for bug-guile@gnu.org; Sat, 27 Sep 2014 05:42:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXoVz-00086f-RW for bug-guile@gnu.org; Sat, 27 Sep 2014 05:42:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXoVz-00083j-O6 for bug-guile@gnu.org; Sat, 27 Sep 2014 05:42:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XXoVu-0000qG-Au for bug-guile@gnu.org; Sat, 27 Sep 2014 05:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 27 Sep 2014 09:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18508 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 18508-submit@debbugs.gnu.org id=B18508.14118108773181 (code B ref 18508); Sat, 27 Sep 2014 09:42:02 +0000 Original-Received: (at 18508) by debbugs.gnu.org; 27 Sep 2014 09:41:17 +0000 Original-Received: from localhost ([127.0.0.1]:53474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXoVA-0000pE-1c for submit@debbugs.gnu.org; Sat, 27 Sep 2014 05:41:16 -0400 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:59158) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXoV2-0000p0-SY for 18508@debbugs.gnu.org; Sat, 27 Sep 2014 05:41:14 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6213E1E7B; Sat, 27 Sep 2014 11:41:07 +0200 (CEST) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kiqsxF0SpmjT; Sat, 27 Sep 2014 11:41:07 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0DA9D1998; Sat, 27 Sep 2014 11:41:06 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?UTF-8?Q?Vend=C3=A9miaire?= an 223 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <20140926144000.GA4832@debian> (Andreas Enge's message of "Fri, 26 Sep 2014 16:40:00 +0200") User-Agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7592 Archived-At: Andreas Enge skribis: > On Mon, Sep 22, 2014 at 10:43:27AM +0200, Ludovic Court=C3=A8s 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 to get libc=E2=80=99s , bu= t maybe >> that mechanism somehow fails with old GCC versions. > > I just retried the compilation, and poll.h is attached. It contains > #if 1=20 > # include_next > #endif Normally that should be enough to get the =E2=80=98struct pollfd=E2=80=99 d= efinition no? Does something like this build correctly with =E2=80=98gcc -Wall -c=E2=80= =99: --8<---------------cut here---------------start------------->8--- #include int foo (struct pollfd *x) { return x->events; } --8<---------------cut here---------------end--------------->8--- Thanks, Ludo=E2=80=99.