delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/21/02:09:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 21 Apr 2011 08:08:48 +0200
Message-ID: <BANLkTin6=o6n4foXZsObmYJDv9sV3a9WYA@mail.gmail.com>
Subject: /usr/include/sys/poll.h problem in cygwin snapshot 2011-04-20
From: Thomas Stalder <cygwinml AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--20cf3079bd861b7ad104a1679301
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hello,

The /usr/include/sys/poll.h file in the latest snapshot is broken.

----------------------- test.c -------------------------
#include <poll.h>

int main(void)
{
    return 0;
}
----------------------------------------------------------

$ gcc a.c
In file included from /usr/include/poll.h:11,
                 from a.c:1:
/usr/include/sys/poll.h:43: error: expected =E2=80=98;=E2=80=99, =E2=80=98,=
=E2=80=99 or
=E2=80=98)=E2=80=99 before =E2=80=98*=E2=80=99 token

Find a patch in attachment to correct the problem.

Regards,

Thomas

--20cf3079bd861b7ad104a1679301
Content-Type: application/octet-stream; name="poll.patch"
Content-Disposition: attachment; filename="poll.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gmrahjda0

LS0tIHBvbGwuaF9vcmkJMjAxMS0wNC0yMSAwODowNjoxOS42MjUwMDAwMDAg
KzAyMDAKKysrIHBvbGwuaAkyMDExLTA0LTIxIDA4OjA1OjU0Ljk2ODc1MDAw
MCArMDIwMApAQCAtMTMsNiArMTMsNyBAQAogCiAjaW5jbHVkZSA8c3lzL2Nk
ZWZzLmg+CiAjaW5jbHVkZSA8c3lzL3R5cGVzLmg+CisjaW5jbHVkZSA8c2ln
bmFsLmg+CiAKIF9fQkVHSU5fREVDTFMKIAo=


--20cf3079bd861b7ad104a1679301
Content-Type: text/plain; charset=us-ascii

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
--20cf3079bd861b7ad104a1679301--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019