getopt: ugly linker messages
Bryan Higgins
bryan@motet.com
Thu Sep 18 20:48:00 GMT 2003
Christopher Faylor wrote:
>You can use unistd.h if you want. If you knew this already why were you
>asking the question?
>From the gnu getopt(3) man page (mysteriously missing in cygwin):
#include <unistd.h>
int getopt(int argc, char * const argv[],
const char *optstring);
extern char *optarg;
extern int optind, opterr, optopt;
If one does this with the latest cygwin, ugly linker messages result.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list