public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.11
Date: Thu, 17 Dec 2015 09:36:00 -0000	[thread overview]
Message-ID: <20151217093634.GP3507@calimero.vinschen.de> (raw)
In-Reply-To: <5671EFF8.6030804@cornell.edu>

[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]

Hi Ken,

On Dec 16 18:12, Ken Brown wrote:
> On 12/16/2015 11:48 AM, Corinna Vinschen wrote:
> > - The header file layout has been cleaned up, mostly in terms of the
> >    sys/select.h, sys/signal.h and sys/types.h files.  This is a generic
> >    change in newlib and aligns the affected headers more closely to
> >    the FreeBSD layout.
> 
> These changes are leading to lots of errors when building emacs:
> 
> /usr/include/cygwin/signal.h:178:3: error: unknown type name ‘pthread_attr_t’
> 
> /usr/include/cygwin/signal.h:213:3: error: unknown type name ‘pid_t’
> 
> /usr/include/cygwin/signal.h:230:2: error: unknown type name ‘timer_t’
> 
> /usr/include/sys/signal.h:211:6: error: #error You need the winsup sources or a cygwin installation to compile the cygwin version of newlib.
> 
> /usr/include/sys/signal.h:214:5: error: unknown type name ‘pthread_t’
> 
> /usr/include/sys/time.h:104:34: error: unknown type name ‘u_int’
> 
> [... and many more]

This puzzles me.  It looks like you're missing sys/types.h when
including sys/signal,h, but sys/signal.h includes sys/types.h by
itself, prior to including cygwin/signal.h.

How can I reproduce this?  An STC like this:

  #include <signal.h>
  main () {}

is definitely not sufficient.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-12-17  9:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-16 16:48 Corinna Vinschen
2015-12-16 18:25 ` Ismail Donmez
2015-12-16 23:13 ` Ken Brown
2015-12-17  9:36   ` Corinna Vinschen [this message]
2015-12-17 18:47     ` Ken Brown
2015-12-17 20:17       ` Corinna Vinschen
2015-12-17 20:39         ` Ken Brown
2015-12-17 21:01           ` Corinna Vinschen
2015-12-17 21:16             ` Eric Blake
2015-12-17 21:41               ` Eric Blake
2015-12-17 21:56                 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151217093634.GP3507@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).