X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=qgRVAI7o3rmEljSfsT5TaEP5tdEtONdyt6tSdHXjib1
	FX+4/4h3PVLD0DnPP8Fzz5s+UXHSLdFcQSdrfGC6ZNvRLDUYSkxlxzQ7F9ymekS6
	DbEnZVt+SP7zriHQV/4zAIfTlhNW2VlQR/YZ2I36hr3KYdGQIj5eX2+/rQiz2cn0
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=K2MI2AFsS6ou08IkDEExdWse6nc=; b=Xf/+xsJ3ZhiMRwziQ
	CSbz1hgF2yHUitrKWbN4atV9zC+QbVAGW4kB97UoE01VH/D3jY3vx+PhTeocubtk
	hr1BQO3/fufuV5hXufQHh45F6r0iXTs0ZfeXqE9OZREEcgtMeceOre3YLiO440wB
	90KKglFl/vFuF1jk51eVsc70Fo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: mout.kundenserver.de
Message-ID: <5543BEAE.3000703@towo.net>
Date: Fri, 01 May 2015 19:58:06 +0200
From: Thomas Wolff <towo@towo.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [64bit] cygwin-devel headers broken
References: <554279F0.5040505@towo.net> <5543090D.9030409@gmail.com> <55436D3A.2050200@dronecode.org.uk>
In-Reply-To: <55436D3A.2050200@dronecode.org.uk>
X-TagToolbar-Keys: D20150501195806421
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-UI-Out-Filterresults: notjunk:1;
X-IsSubscribed: yes

Am 01.05.2015 um 14:10 schrieb Jon TURNEY:
> On 01/05/2015 06:03, Marco Atzeri wrote:
>> On 4/30/2015 8:52 PM, Thomas Wolff wrote:
>>> There is a crash issue induced on cygwin-64 (not on -32) after
>>> compilation with cygwin-devel 2.0.0 include files. I am recompiling my
>>> editor mined and it crashes, maybe immediately or after typing
>>> non-trivial input (like function keys, waiting for input with 
>>> select()).
>>> ...
>>>
>>
>> I had a similar issue. But in my case the compilation fails as
>> select seems gone:
>
> It seems that sys/select.h is no longer implicitly included by some 
> other header, I think probably sys/time.h.
Thanks for the hint, adding an include solves the issue.
It had compiled without because I have a plain extern int select() 
declaration. It's obviously not a good declaration because the pointer 
arguments can now be 64 bit. (I think I could not unconditionally 
include select.h for porting compatibility with some legacy systems that 
don't have it.)

Not sure whether it's a bug then as arguably a program using select 
should declare it properly. On the other hand this issue has not 
appeared on any other system and if traditionally include time.h used to 
imply include select.h maybe that should be maintained.
------
Thomas

--
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

