delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/01/15:30:01

X-Recipient: archive-cygwin AT delorie DOT 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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=wx
t2ZQtyNBLKn14umkDd26yShjIREeXrBxQNnNoqnZJrg/MAs0Fxhka0MNmCVFr4Yw
u5o0elkeUoJW2N7+ZKcXwxAYfqzTRTa+d0t/Qm9U+O1O8abOPoVA9hLxdZ/f95RD
lVHZUGF35kKdiKAjVyemXuivILgBbYrF04sNU2Dvw=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=67ixdJ4J
49MpVXUejkkxGerdIiA=; b=eaNC+9ZsgfUNuEODxrE1dVcGwp1XHu5MxTAXLvYH
NuG5vClFX56rJRFh41uCqQUeQqI/LesIyO1fwLgSjio8Uhu02GBkttsSUpzGi4iA
VBSPRIhhRlUpt/AjKHBzn9m6Ch0YoXIpaRrBVE0w8aKgyhbgmwo45D1mC5KAzRKP
sF4=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f179.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=ANy03ExT31aX4jsY7vNJQhDwDT1YlcBcO4ycuVkp1zA=; b=iQvoFEwm689QxcXExA5qjr5CGShPgdBgRbCqQtC8BkWM0sdS3ajQzLaMbt6Vj65Z84 E55wVkTvqeNj8iXkEUfEkEAE2fNivocWCUdtJwRC1snOqQlUtFjhFBwTQdj+29EOSPlX JX7ktJPYjrH3YZfRbmcOirXFfKUVrs5WHyBSRKAKV8TeKziKlousBXr1bBMqjPQAbhWc 3Rnx1LsiNo8ETeY4EPcJZPhmBxdy4z4017Mx0xMsmZZpOfo/e0XvJKXxX75sk3D1/sFK K+PKGcJ8+6e7Iq4n5UDsJoO9g4vWu35XC0qy3kr0kYcqupUnY2LIWKNX87T6qnIglmkm 3DyA==
X-Gm-Message-State: ALoCoQnKm+CqU4TkOKKYtbNdjnJu9YhHVVOvS7uOVR6HH2LgeQkZBy89NUkaHDldIx9k20wzJua7
MIME-Version: 1.0
X-Received: by 10.194.133.133 with SMTP id pc5mr19847553wjb.31.1430508579638; Fri, 01 May 2015 12:29:39 -0700 (PDT)
In-Reply-To: <5543BEAE.3000703@towo.net>
References: <554279F0 DOT 5040505 AT towo DOT net> <5543090D DOT 9030409 AT gmail DOT com> <55436D3A DOT 2050200 AT dronecode DOT org DOT uk> <5543BEAE DOT 3000703 AT towo DOT net>
Date: Fri, 1 May 2015 12:29:39 -0700
Message-ID: <CAOC2fq_4n_AXbTCEzL0herVbHhQ_mC=somEnhv-=mduiRnKWBw@mail.gmail.com>
Subject: Re: [64bit] cygwin-devel headers broken
From: Michael Enright <mike AT kmcardiff DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

When changing from compiler to compiler, even if it be just an OS
point version upgrade, implicit header inclusions go away all the
time. As a developer, I just shrug this off as one of the trade-offs
of choosing to develop in C or C++, which lack proper module systems.


On Fri, May 1, 2015 at 10:58 AM, Thomas Wolff <towo AT towo DOT net> wrote:
> 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
>

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

- Raw text -


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