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:subject:references:to:from:reply-to:cc :message-id:date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=tlEiL7DD8Q7I/7bP V1leyOlRwp3uA8GQKsg22U72NwfvNQ1BAJ4RbUuKrjvgW6ITe7ax4ByayYYLz9kV wwPJm5DPBEGhbJHEjBbRcyXC/xgxriingEdIxIln0Mvs8N+PNXzrjVpD8R9LeErK sD03E+eMffamMpQPtmaNjQpEyJA= 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:subject:references:to:from:reply-to:cc :message-id:date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=Yj9kZa+XeEAF/G48K+2V+O 8GBAA=; b=FMpYgCAfz2gH9ha9/k5/8KSVNU0fwKmYuy7Uf6OaFIx/2mC+M3OKqA bvMtEYikKBZrd6E9DygrOFh1YlxPCbImsaXfP5l5obvqRQj3DLskOneytXchRk32 njnVctu9pgwq+T5HdZYP0mkvUjq4O1dGo8GjlwOC1VttYC8qedm14= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: out4-smtp.messagingengine.com Subject: Re: New C compilation error using the Openwindow/xview-devel toolkit on current (September 2015) 32 bit Cygwin References: <560D95A3 DOT 9050403 AT cornell DOT edu> To: cygwin AT cygwin DOT com From: Jon Turney Reply-To: cygwin AT cygwin DOT com Cc: psm8888 AT gmail DOT com Message-ID: <560FD47B.9090900@dronecode.org.uk> Date: Sat, 3 Oct 2015 14:13:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <560D95A3.9050403@cornell.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 01/10/2015 21:20, Ken Brown wrote: > On 10/1/2015 2:38 PM, Paul Morgan wrote: >> I can no longer compile C code linked to the Openwindows/xview-devel >> toolkit using gcc in Cygwin 32 bits, installed on Windows 7 32 or 64 >> bit systems. I run setup-x86 weekly to update Cygwin - compilation ran >> fine in August 2015 but by mid September 2015 it was failing on the >> same code. >> >> I can reproduce this by compiling C code from the xview-examples >> package (from e.g., Debian i386 >> https://packages.debian.org/jessie/xview-examples ), to eliminate any >> issues with my specific code. For example, [..] Thanks for reporting this issue, with reproduction steps and a fix! I've rebuilt and uploaded updated xview 3.2p1.4-28-2 packages (32-bit only, of course), with the additional patch [1] applied. It's nice to know that someone is actually using the xview packages :) Please let me know if there are any problems. [1] https://github.com/jon-turney/xview-cygport/blob/master/cygwin-ucontext.patch >> There now appears to be an issue with the definition of ucontext_t in >> xview-devel with respect to Cygwin. If I manually edit >> /usr/openwin/include/xview/base.h and change line 70 from undef to >> #define SYSV_UCONTEXT >> ... the example above then compiles fine. >> >> I cannot find any reference to recent Cygwin updates related to the >> definition of ucontext_t > > https://cygwin.com/ml/cygwin-announce/2015-08/msg00033.html Yes, cygwin has only gained ucontext_t this year. -- 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