delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/17/05:49:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <008b01c0c723$7fbe61e0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Ralf Habacker" <Ralf DOT Habacker AT saght DOT tessag DOT com>,
<cygwin AT sources DOT redhat DOT com>
References: <000d01c0c722$387dadf0$6e032bb7 AT BRAMSCHE>
Subject: Re: RE:Q about unistd.h/getopt.h
Date: Tue, 17 Apr 2001 19:47:52 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 17 Apr 2001 09:40:41.0441 (UTC) FILETIME=[77853D10:01C0C722]

include <getopt.h> in the appropriate files for KDE.

THIS IS THE WRONG LIST FOR KDE.

Use cygwin-xfree AT cygwin DOT com for X-Windows related questions, including
ports of X-windows apps.

Rob

----- Original Message -----
From: "Ralf Habacker" <Ralf DOT Habacker AT saght DOT tessag DOT com>
To: <cygwin AT sources DOT redhat DOT com>
Sent: Tuesday, April 17, 2001 7:38 PM
Subject: RE:Q about unistd.h/getopt.h


> Hi, Mark Paulus wrote:
>
> >I apologize if this has been asked, but I can't seem to access the
mail
> >archives right now to check.  Anyway, I am building fetchmail,
> >and it mostly builds right out of the box, except for one small
problem
> >which I noticed before but didn't pay attention to much.
>
> >It complains that fetchmail.c has an undefined variable
> >optind.  After looking around, and compiling the exact
> >same source on my debian box, I find out that getopt.h
> <is included in unistd.h, with the following code:
>
> >#ifdef  __USE_POSIX2
> >/* Get definitions and prototypes for functions to process the
> >   arguments in ARGV (ARGC of them, minus the program name) for
> >   options given in OPTS.  */
> ># define __need_getopt
> ># include <getopt.h>
> >#endif
> >
> >and that nothing like this exists in cygwin.
> >
> >My debian machine is using 2.95.2-13 of gcc.  Is this a difference
> >in the versions of gcc, or an issue with the cygwin version of
unistd.h?
> >
> >Thanks
>
> For KDE I need the same function. Should getopt.h included in unistd.h
in
> future cygwin releases ?
>
> Who can give an answer
>
> Thanks
> Ralf Habacker
>
>
>
>
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019