This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: New C compilation error using the Openwindow/xview-devel toolkit on current (September 2015) 32 bit Cygwin
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin at cygwin dot com
- Cc: psm8888 at gmail dot com
- Date: Sat, 3 Oct 2015 14:13:31 +0100
- Subject: Re: New C compilation error using the Openwindow/xview-devel toolkit on current (September 2015) 32 bit Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <CAB_pihYb0Na6xzMbnBniYFZnpPj2ik=76-dzq5euL3Y01igfQw at mail dot gmail dot com> <560D95A3 dot 9050403 at cornell dot edu>
- Reply-to: cygwin at cygwin dot com
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