Displaying 2 results from an estimated 2 matches for "bsdoptreset".
2002 Jun 16
1
multiple definition of `optind'
Any ideas of the best way around this problem? Should I just hack the
source code, or is there a magic switch somewhere I'm missing? I'm
assuming I can't just dismiss that function as OpenSSH is probably
based on the OpenBSD semantics.
=============================================================================
gcc -g -O2 -Wall -Wno-uninitialized -I. -I.
2003 Sep 10
3
[PATCH] No extern declarations of optarg & co if getopt.h is available
Hi,
I have a problem with the extern declarations of optarg, optind, etc.
We're currently moving getopt from being a statically linked function
to a dynamically linked function as part of the Cygwin DLL. On Windows,
this requires to generate special symbols (__imp__optarg, etc.), which
is done by marking the exported variables in the corresponding header.
Instead of
extern char *optarg;