From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29241 invoked by alias); 1 May 2015 19:29:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 29232 invoked by uid 89); 1 May 2015 19:29:43 -0000 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 Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com) (209.85.212.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 01 May 2015 19:29:42 +0000 Received: by wizk4 with SMTP id k4so61622309wiz.1 for ; Fri, 01 May 2015 12:29:39 -0700 (PDT) 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) Received: by 10.194.119.195 with HTTP; Fri, 1 May 2015 12:29:39 -0700 (PDT) In-Reply-To: <5543BEAE.3000703@towo.net> References: <554279F0.5040505@towo.net> <5543090D.9030409@gmail.com> <55436D3A.2050200@dronecode.org.uk> <5543BEAE.3000703@towo.net> Date: Fri, 01 May 2015 20:12:00 -0000 Message-ID: Subject: Re: [64bit] cygwin-devel headers broken From: Michael Enright To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00015.txt.bz2 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 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