[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18508: Incomplete type pollfd
From: |
Andreas Enge |
Subject: |
bug#18508: Incomplete type pollfd |
Date: |
Sat, 27 Sep 2014 14:40:06 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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