[64bit] cygwin-devel headers broken
Fri May 1 12:10:00 GMT 2015
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()).
>> It does not occur after recompiling only certain source files, but it
>> happens after recompiling only io.c which makes heavy use of terminal
>> I/O like read(), select(), ioctl().
>> Reverting the cygwin-devel package to 1.7 (and leaving everything else
>> up-to-date) solves the issue.
>> Selective copying of files from the cygwin-devel 2.0 package further
>> /lib: all from 2.0: no problem.
>> /usr/include/sys: all from 2.0 except the following: no problem.
>> But if signal.h, stat.h, time.h, types.h, and associated dependencies
>> are used, the compiled program crashes.
>> I can try to narrow down the issue further but maybe this is a clue
> 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.
> In file included from
> reporter/si_signals.h: In function âint si_select(int, _types_fd_set*,
> _set*, _types_fd_set*, timeval*)â:
> reporter/si_signals.h:47:63: error: âselectâ was not declared in this scope
> (nfds,readfds, writefds, exceptfds, timeout)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin