This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Problem with new getopt.h in 1.3.3
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Subject: Problem with new getopt.h in 1.3.3
- From: "Mark Paulus" <commpg at yahoo dot com>
- Date: Wed, 12 Sep 2001 15:42:30 -0600
- Reply-To: "Mark Paulus" <commpg at yahoo dot com>
Hi,
I just upgraded to 1.3.3, and ran into a problem with getopt.h
I have a program that is conflicting with the option struct.
On the linux side, this problem is handled by surrounding the
option struct and the _long() functions with:
#ifndef __need_getopt
#endif
However, this is missing in cygwin, which is causing my conflicts.
I have tracked the problem down to the linux include files using
a variable __need_getopts, and the included patches change
stdio.h, unistd.h, and getopt.h to emulate that behaviour. However,
like a good lemming, I have no understanding of the philosophic
requirements behind the behaviour.
unistd.diff
getopt.diff
stdio.diff
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/