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


Message #19 received at 18508 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 18508 <at> debbugs.gnu.org
Subject: Re: bug#18508: Incomplete type pollfd
Date: Sat, 27 Sep 2014 14:40:06 +0200
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 <poll.h>
> 
> int
> foo (struct pollfd *x)
> {
>   return x->events;
> }
> --8<---------------cut here---------------end--------------->8---

Yes, without any warning.

Andreas





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.